How to Fix Exchange 2019 Management Shell Cmdlet Errors
Question details
The user is experiencing missing command errors when attempting to run Exchange 2019 cmdlets.

- Product
- Microsoft Exchange 2019
- Device & OS
- not provided
- Scenario
- Running administrative cmdlets, database commands, or HealthChecker scripts for an on-premises Exchange server.
- Observed behavior
- Exchange cmdlets are unrecognized or missing, often due to using a standard PowerShell window rather than the dedicated Exchange Management Shell, even though server mail flow continues to work normally.
Ensure you have administrative access to the on-premises Exchange server and that you are logged into an account with the appropriate Exchange organization management roles.
Run Commands Using the Exchange Management Shell
The most common cause of missing Exchange cmdlets is running scripts in a standard Windows PowerShell window instead of the dedicated Exchange Management Shell.
Standard PowerShell does not load the required Exchange snap-ins by default. Launching the specific Exchange Management Shell ensures all necessary modules and commands are readily available.
Log into your on-premises Exchange server and click on the Start menu.
Search for 'Exchange Management Shell' in the application list and click to open it. Avoid using the standard 'Windows PowerShell' shortcut.
Once the Exchange Management Shell finishes loading the snap-ins, type your intended cmdlets, database commands, or run your HealthChecker scripts.

Verify Exchange Snap-ins and Management Tools
Confirm that the Exchange Management Tools are properly installed on your server or workstation.
Consult Microsoft Exchange Hybrid Management Support
For persistent issues in on-premises or hybrid environments, specialized assistance from Microsoft is recommended.
Enhance Your IT Documentation Workflow with WPS Office
While resolving Exchange Server administrative issues requires specialized Microsoft tools, writing your IT documentation, server reports, and daily data logs doesn't have to rely on expensive software. WPS Office provides a free, highly compatible, and lightweight alternative to Microsoft Office.
- 1. Download the Installer: Visit the official WPS Office website to download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded file and follow the quick on-screen instructions to complete the setup.
- 3. Manage Your Reports: Open WPS Writer or Spreadsheet to easily format and manage your IT documentation and daily tasks.

Frequently Asked Questions
Why do standard PowerShell windows fail to recognize Exchange cmdlets?
Standard Windows PowerShell does not automatically load the Exchange-specific snap-ins and modules required to recognize those commands. You must use the Exchange Management Shell, which runs a startup script to import all necessary administrative tools.
Can my Exchange server still route emails if the Management Shell is broken?
Yes, mail flow and database operations are handled by background server services. These essential functions can continue working normally even if the management shell is misconfigured or displaying cmdlet errors.
How do I correctly run the Exchange HealthChecker script?
To ensure accurate results and prevent cmdlet recognition errors, you should always execute the HealthChecker script directly from the Exchange Management Shell on the on-premises Exchange server.




