Question: get-mailbox' is not recognized as the name?
Answer: This error message means that the Exchange Module for PowerShell is not loaded and therefore the command “get-mailbox” is not recognized. ... This is done via the following commands: $Credentials = Get-Credential. $Session = New-PSSession -ConfigurationName Microsoft.