How to Set Execution Policy


Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager

Use the following procedure to set execution policy to RemoteSigned in System Center 2012 – Service Manager. This is necessary to enable the importation of the Service Manager cmdlet modules, automatically or manually.

You have to run this command only once on the computer where you intend to use Windows PowerShell cmdlets for Service Manager.

To set execution policy

  1. On the computer where you want to run Windows PowerShell, click Start, click All Programs, click Microsoft System Center 2012, click Service Manager, and then click Service Manager Shell.

  2. At the Windows PowerShell prompt, type the following command, and then press ENTER:

    Set-ExecutionPolicy –force RemoteSigned  
  3. Type exit, and then press ENTER to close the Administrator: Windows PowerShell window.