You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
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.
#37
Open
JamesHeathcote opened this issue
Aug 8, 2018
· 1 comment
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:23 char:23
@JamesHeathcote
Can we get a more complete output? Most likely your Exchange PSSession just didn't work (bad login, MFA, or some other thing), and so it didn't import the module with the Commands
Might could also be Exchange Permissions being too low on your user.
Try these lines again and see if it imports commands.
And then you should be able to get commands for mailboxes, which will probably be sourced from the module listed above. Get-Command -Name *mailbox*
If you're not getting any Get-Mailbox* commands from that, see if it even pulled any commands with the module. It could be something like AV is blocking the script.
#After Running the Get-Module command listed a couple code blocks above
$exoModule.ExportedFunctions.Keys + $exoModule.ExportedCommands.Keys | select -Unique
DumpDelegatesandForwardingRules.ps1
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:23 char:23
The text was updated successfully, but these errors were encountered: