The PowerShell Execution Policy helps deter the accidental running of scripts. To open PowerShell and specify the execution policy at the same time:
Click Start.
Type PowerShell –ExecutionPolicy Policy
Replace Policy with the Execution Policy level of your choice.
Click Start.
Type PowerShell –ExecutionPolicy Policy
Replace Policy with the Execution Policy level of your choice.
Comments