
You can run Exchange PowerShell command from a regular PowerShell console.
To do so you need to do the following:
- Install the Exchange Management Tools from the Exchange installation media (if you haven’t already done so).
- Import the Exchange module into your Powershell session
The Exchange module you need to import varies per Exchange version.
Exchange 2007
1 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin |
Exchange 2010
1 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 |
Exchange 2013 & 2016
1 |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn |
Comments