Unable to run power shell scripts in Windows server os. Error ” Get rights for execution “


Symtom: To run the PS1 script (power shell script) in Windows server, which will not allowed to run.

 

Cause: Permission required to run the remote signed script.\

 

Solution: To run the script run the command in power shell prompt ” Set-ExecutionPolicy RemoteSigned” and then run the script which will works.

 

Ref: http://technet.microsoft.com/en-us/library/ee176949.aspx

 

 

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: