Solved

Exchange 2013 CU6 installation error because of Powershell Execution Policy

Posted on 2014-09-19
5
634 Views
Last Modified: 2014-09-23
Hello,
I am installing the Exchange 2013 CU6 but could not do it because of Powershell Execution Policy. I check the the local group policies for user and computer and they are "Not Configured". Please see the screenshot below for more details and give me some advices.
Thanks,

as
0
Comment
Question by:dongocdung
  • 3
  • 2
5 Comments
 
LVL 80

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40332573
from within powershell with the run as administrator option
Set-ExecutionPolicy RemoteSigned -Scope LocalMachine

Open in new window

or
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

Open in new window


powershell by default doesn't run scripts
0
 

Author Comment

by:dongocdung
ID: 40332641
David,
I set those two scopes to remotesigned but it still did not work.

ad
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40332649
from the exchange management shell (powershell) set the execution policy again.
0
 

Author Comment

by:dongocdung
ID: 40332805
I set the policy in Exchange Hybrid but it still did not work

g
0
 

Author Comment

by:dongocdung
ID: 40332944
It works for now after I change the MachinePolicy to undefined.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief introduction to what I consider to be the best editor for PowerShell.
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question