When you create a mailbox in Microsoft Exchange Server 2016 by using PowerShell, you may get the following error.

new-mailbox : the term 'new-mailbox' is not recognized as the name of a cmdlet, function, script file or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Solution

Open PowerShell with elevated privileges and execute the following command.

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

Explanation

The above command when executed imports the exchange module into PowerShell session.

 

 

[SOLVED] new-mailbox : the term ‘new-mailbox’ is not recognized as the name of a cmdlet, function, script file or operable program.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Ad #native_company# — #native_desc# #native_cta#