You must set the PowerShell Execution Policy from Restricted to RemoteSigned or Unrestricted to allow local PowerShell scripts to run.
About this task
For more information about PowerShell Execution Policy, type help about_signing or help Set-ExecutionPolicy at the PowerShell command prompt.
Log in as a Windows administrator.
- Select .
- Type Set-ExecutionPolicy RemoteSigned to set the policy to RemoteSigned.
- Type Set-ExecutionPolicy Unrestricted to set the policy to Unrestricted.
- Type Get-ExecutionPolicy to verify the current settings for the execution policy.
- Type Exit.