I need to run just a single PS line from my SSIS package:
Disable-ScheduledTask -TaskName "MyWindowsTask"
Issues:
1)Different virtual machines -where the SSIS runs and where the Windows Task is published- although in same subnet
2)The proxy account who runs the SSIS package does not have permission on the target vm where it is required to disable the Windows Task.
Easily can solve out the step 2 using a service account with more permissions but I don't know if the call will work remotely
Let me know your thoughts and inputs on that,
Enric