Get-Mailbox | where RecipientTypeDetails -EQ "sharedmailbox" | Get-MailboxPermission | where user -Like *vob* | select identity, user | export-csv -Path "f:\sharemailbox.csv" -Encoding Default
为了找出共享邮箱的成员走了些弯路, 以为会有member之类的命令, 没想到是关于permission的命令.
时间: 2024-10-08 06:47:15