Forum Discussion
L4L7_53191
Mar 05, 2010Nimbostratus
I haven't had time to test this, but for sure you're missing some kwargs in your set_service call - it expects two: services and service_action. Your call should look something like:
pc.System.Services.set_service(services=[service], service_action=action)
Also note that it's asynchronous: the call may return before the actual job is done.
-Matt