You must set the PowerShell Execution Policy from Restricted to RemoteSigned or Unrestricted to allow local PowerShell scripts to be run.
Before you begin
Log in as a Windows administrator.
Verify that Microsoft PowerShell is installed on the installation host before agent installation. The version required depends on the operating system of the installation host. See Microsoft Help and Support.
For more information about PowerShell Execution Policy, run
help Set-ExecutionPolicyat the PowerShell command prompt.
About this task
For more information about the PowerShell Execution Policy, see Microsoft Technet article hh847748. If your PowerShell Execution Policy is managed at the group policy level, contact your IT support for about their restrictions on policy changes, and see Microsoft Technet article jj149004.
- Select .
- For Remote Signed, run
- For Unrestricted, run
- Verify that the command did not produce any errors.
- Type Exit at the PowerShell command prompt.