Categories
Tech

Restore Exchange Management Shell Shortcut

How to recreate the Exchange Management Shell shortcuts

This path assumes your Exchange server is installed at %Program Files%\Microsoft\Exchange Server\V15\
If your Exchange instance is installed on D: you’d use D:\Program Files\ instead of %Program Files%\.

Create a shortcut to the path below
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command “. ‘%Program Files%\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1’; Connect-ExchangeServer -auto -ClientApplication:ManagementShell “

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". '%Program Files%\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto -ClientApplication:ManagementShell "

The exshell.psc1 file is located at %Program Files%\Microsoft\Exchange Server\V15\Bin\exshell.psc1

%Program Files%\Microsoft\Exchange Server\V15\Bin\exshell.psc1

What the hell is a psc1 anyways? tldr it’s an export of a powershell session that includes snap-ins

God help you if you need this.

Leave a Reply

Your email address will not be published. Required fields are marked *