***********
UPDATE 18/02/17
I’ve had a lot of people write and ask how you accomplish this same task for Exchange 2016. Â I have confirmed and tested it myself, it is exactly the same process as for Exchange 2013. Â See below.
***********
Before you can run Exchange Powershell commands from a regular Powershell console, you need to do the following:
- Install the Exchange Management Tools (if not already installed) from the Exchange installation media
- Import the Exchange module into your Powershell session
The command to import the Exchange modules is different for each version – use the appropriate command below:
Exchange 2007
1 2 3 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; |
Exchange 2010
1 2 3 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; |
Exchange 2013 & 2016
1 2 3 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; |
Can you update your list for Exchange 2016?
Updated – see above.
What is Add-PSSnapin command for Exchange 2016:
Updated – see above.
Hi , Can anyone let me know the snapin for exchange 2016
Updated – see above.
Fabulous. Thank you!
Thanks alot. Just was I needed!
Thanks for the info. This worked perfectly for a powershell script I had made.
Simple and Straightforward, much appreciated 🙂
Thanks a lot !
Hi Expert Kamal ,
The Exchange module is supposed to load automatically when you start the Exchange Powershell, or require to run the command each time when open Powershell?
The Exchange modules load automatically if you’re using the Exchange Management Shell. If you’re using standard PowerShell (or calling PowerShell from command-line) you will need to load in the modules on-top of the standard ones.
Thanks for sharing
Thank you Kamal
A question:
If you can not find the disk anymore, can you also download the Exchange Management Tools?
I have not found it as a download yet.
greeting
Michael
As far as I know, it’s only available as part of the original Exchange installer disc/ISO.
Thank you!