Forum Discussion
Bilalladoui
Jan 13, 2021Copper Contributor
How to get list of users " Send As " for shared mailbox using PowerShell
Hi, I would like to pull out the list of users " Send As " for a specific Shared mailbox, using Exchange PowerShell.
boneyfrancis
Jan 13, 2021Iron Contributor
The SendAs permission is granted using Add-RecipientPernission, so to retrieve the list of users who has permission to send as the shared mailbox, you can run:
Get-RecipientPermission -Identity <SharedMailbox>
OR
Get-RecipientPermission -Identity <SharedMailbox> | Select Trustee, AccessRights
Get-RecipientPermission -Identity <SharedMailbox>
OR
Get-RecipientPermission -Identity <SharedMailbox> | Select Trustee, AccessRights
Bilalladoui
Jan 13, 2021Copper Contributor
I getting this error :
Get-RecipientPermission : The term 'Get-RecipientPermission' 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.
Get-RecipientPermission : The term 'Get-RecipientPermission' 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.