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.
Open PowerShell with elevated privileges and execute the following command.
The above command when executed imports the exchange module into PowerShell session.