For security reasons, Windows PowerShell supports an execution policy feature. It determines whether scripts are allowed to run and whether they must be digitally signed. By default, the execution policy is set to Restricted, which is the most secure policy.

If you want to run scripts or load configuration files, you can change the execution policy by using the Set-ExecutionPolicy cmdlet. For more information about the execution policy and script digital signing in Windows PowerShell, run Get-Help About_Signing.


Select Start > Programs > VMware > VMware vSphere PowerCLI.

The VMware vSphere PowerCLI console window opens.


In the VMware vSphere PowerCLI console window, run Set-ExecutionPolicy RemoteSigned.