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
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.
At the Windows PowerShell prompt, type the following command, and then press ENTER:
Set-ExecutionPolicy –force RemoteSigned
Type exit, and then press ENTER to close the Administrator: Windows PowerShell window.