Exchange Server 2016 Management Shell - CMDLET not found

shockoMS 281 Reputation points
2020-10-02T10:11:43.177+00:00

I have a full read only access to our Exchange org. I am running the mgmt. shell locally with my Exchange server remote. What I am finding is that some CMDLETS work fine like get-mailbox whereas when I run other like get-mailboxpermission result in command not found:

Get-Mailboxpermission : The term 'Get-Mailboxpermission' 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.
At line:1 char:1

  • Get-Mailboxpermission
  • ~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : ObjectNotFound: (Get-Mailboxpermission:String) [], CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException

Now if I run the shell directly on the server there no issue. What am I doing wrong ?

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 86,026 Reputation points
    2020-10-02T10:32:59.427+00:00

    Hi @shockoMS ,

    Are you running the Exchange Management Shell locally and connecting to your Exchange server using Remote PowerShell as described here?

    Connect to Exchange servers using remote PowerShell
    https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-servers-using-remote-powershell?view=exchange-ps

    Similar issue explained over this thread:
    https://community.spiceworks.com/topic/1943690-the-term-get-mailboxpermission-is-not-recognized-as-the-name-of-a-cmdlet

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.