Running remote Powershell script in SQL job

A job was not able to complete when running a remote Powershell script. It would not really start either, but was just running indefinitely. I asked the question on StackExchange, and eventually found the answer.

http://dba.stackexchange.com/questions/84126/execute-remote-powershell-script-from-sql-agent

This article was helpful in troubleshooting the question.

http://stackoverflow.com/questions/728143/ignore-security-warning-running-script-from-command-line

Advertisements
This entry was posted in Powershell. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s