How to Add Exchange Powershell Snap-Ins to your current PowerShell session?

Add Exchange Powershell Snap-Ins to your current PowerShell session.

By adding exchange PowerShell snap-ins you can directly run exchange commands without starting the exchange PowerShell module, snap-in can be added to scripts to load the exchange PowerShell module quickly. 

Below are the snap-in to be used for a different version of exchange server.

Exchange 2010 

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

Exchange 2013 & 2016

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn

Comments