Home

Tuesday, December 28, 2010

Windows Server: Enable Execution of PowerShell Scripts

This post describes the steps to enable execution of PowerShell scripts on the Windows Server operating system.

1. Click Start, All Programs, and click "Administrative Tools"

2. Right-Click Windows Powershell Modules, Select "Run as Administrator"

3. At the command prompt (PS C:\Windows\system32>), type the following:
Set-ExecutionPolicy RemoteSigned

4. The Execution Policy Change prompt will display. Respond with "Y":

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might exposeyou to the security risks described in the about_Execution_Policies help topic.
Do you want to change the executionpolicy?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y

No comments:

Blog Archive

Followers