Monday, November 19, 2012

Tip to always remember when working with PowerShell

I work with PowerShell frequently on a variety of computers as well as virtual machines and whenever I work on a different machine, one of the most common tasks I always forget to accomplish is to change the Execution Policy in the PowerShell window:

Using the Set-ExecutionPolicy Cmdlet

The safest policy to follow is to set the ExecutionPolicy to RemoteSigned, however, in some cases, the ExecutionPolicy may also be set to Unrestricted.  

No comments:

Post a Comment