Set the execution policy on target servers
For AppInsight, the Execution Policy needs to be set to RemoteSigned on target servers.
- Open a PowerShell session in the Administrator context.
- Enter the following command:
Set-ExecutionPolicy RemoteSigned