Just use the -User attribute:
PS C:\> Get-Mailbox | Get-MailboxPermission -User secgrp Identity User AccessRights IsInherited Deny -------- ---- ------------ ----------- ---- Bathroom secgrp {FullAccess} False False
You can of course run this against only user/shared mailboxes as needed. Alternatively, you can look up the relevant AD attributes instead, as explained here: http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/mailbox-auto-mapping-exchange-server-2010-part2.htm
- Proposed as answer by jim-xuModerator 1 hour 37 minutes ago
Just use the -User attribute:
PS C:\> Get-Mailbox | Get-MailboxPermission -User secgrp Identity User AccessRights IsInherited Deny -------- ---- ------------ ----------- ---- Bathroom secgrp {FullAccess} False False
You can of course run this against only user/shared mailboxes as needed. Alternatively, you can look up the relevant AD attributes instead, as explained here: http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/mailbox-auto-mapping-exchange-server-2010-part2.htm
- Proposed as answer by jim-xuModerator Tuesday, April 14, 2015 5:47 AM
- Marked as answer by B0ndoo7 16 hours 42 minutes ago
We have a lot of DBs in a DAG, so I took your suggestion and modified it:
Get-MailboxDatabase | Get-Mailbox | Get-MailboxPermission -User <secgrp>
That worked! Thank you very much.