How to add PSSnapin to execute Exchange PowerShell commands?
Prerequisites: Can be executed on Exchange Server (including Windows Server Core) or in other cases of non Exchange Server or workstation, Exchange Management Tools must be installed (included in Exchange installation media).
Execute in cmd:
start powershell
Execute in PowerShell:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
Very useful on deployments of Windows Server Core (headless, no GUI) or where you need PS scripting and automation.
How to add PSSnapin to execute Exchange PowerShell commands? Prerequisites: Can be executed on Exchange Server...
Read More