Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

executing PowerShell on a remote server from SSIS

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>