We help IT Professionals succeed at work.

Exchange management shell in PS.

sara2000 asked
Last Modified: 2018-10-08
I want to give a permission to user to execute Exchange Management Shell from his PC. without installing Exchange managemnet tools.
I think he has to import Exchange management  modules to his PS session.
What king of permission that users has to have on Exchange to execute the permission ?
Watch Question

Jeremy WeisingerSenior Network Consultant / Engineer

Jeff GloverSr. Systems Administrator

As long as the user is in a Management Group for Exchange, he or she should be able to connect. Otherwise, you can enable the user by running the powershell command  Set-User "<name>" -RemotePowerShellEnabled $true.   I connect remotely 90% of  the time. I have a script I run to connect. I just saved it as a .ps1 file

$s = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri http://<fqdn of exchange server>/powershell -Authentication Kerberos
Import-PSSession $s


Where do we issue the below command at Exchange server?
Set-User "<name>" -RemotePowerShellEnabled $true
Jeff GloverSr. Systems Administrator

In the Exchange management shell. But if the user is not part of any management group, why give them access? By default, all user accounts have access to remote PowerShell. However, to actually use remote PowerShell to connect to an Exchange server, the user needs to be a member of a management role group, or be directly assigned a management role that enables the user to run Exchange cmdlets.


Jeff Thank you for the info. I just want that user to run all Ge- permission just to monitor.
Which role group to be that user?
Sr. Systems Administrator
This one is on us!
(Get your first solution completely free - no credit card required)
timgreen7077Exchange Engineer
Distinguished Expert 2018

Add the user to the "View-Only Organization Management" group, and this will allow accomplish what you are after. They will only be able to run "get" cmdlets for viewing info and not setting and making changes.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.