Exchange Management Shell for Windows 2012 Server Core

While working with my new Exchange 2013 environment. I decided to remove the GUI to reduce the load. And after the reboot I lost my Exchange Management Shell. I can still access the new Exchange Admin Center via the web address but now I cannot run any scripts via the Exchange Management Shell. Here is a simple way to get your management shell back.

Steps to get your Exchange Management Shell in Windows 2012 Server Core

  1. Create a PowerShell Profile
    • New-Item -ItemType file -path $profile -force
  2. Edit your profile
    • notepad $profile
  3. Add the following information to your profile as two separated lines, save the file.
    • Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010. $env:ExchangeInstallPathbinRemoteExchange.ps1
  4. Exit your current powershell session and open a new one.
  5. You should have your  Exchange Management Shell up and running.

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: