Adding PowerShell snap-in for Microsoft Exchange 2019 2016 2013
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:
Execute in PowerShell:
Very useful on deployments of Windows Server Core (headless, no GUI) or where you need PS scripting and automation.