Script Troubleshooting

The following error below may be displayed if there are security permission issues for running the script:

Do the following:
1. On the Windows server PC where you are running the script, ensure that you have installed all relevant Windows Security updates.
2. Open the Windows Local Group Policy Editor.
3. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows PowerShell.

4. Select the Enabled check box to Turn on Script Execution policy.

5. From the Execution Policy drop-down list, select Allow local scripts and remote signed scripts. See also Script Execution Issues.