David Huby’s Blog Technical and business stuff

27Jan/100

Running Powershell scripts on a new PC

When running Powershell scripts for the first time on a developer PC, you will need to change the execution policy for Powershell.

By default the behaviour only allows signed scripts to run.

Executing

Set-ExecutionPolicy RemoteSigned

will allow locally developed scripts to be executed.

More information about Set-ExecutionPolicy can be found at http://technet.microsoft.com/en-us/library/ee176961.aspx until Microsoft changes their URLs yet again

Filed under: Sysadmin No Comments