Hi Everyone this is Prem, I have worked as M365 Support Ambassador. In this blog I will share How to Fix The term ‘Get-Mailbox’ is not recognized as the name of a cmdlet, function, script file, or operable program Error when using PowerShell.
Â
Â
This Error occurs when we try to run an Exchange command in PowerShell without connecting it to Exchange Online.
Â
Â
To fix this error we will first have to connect the PowerShell to exchange online and then run the required command.
Â
Â
Steps to fix The term ‘Get-Mailbox’ is not recognized as the name of a cmdlet, function, script file, or operable program Error:
Â
Search for windows PowerShell and then run it as an administrator:
Â