Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', $_.AccessRights)}} | Export-Csv -NoTypeInformation C:\\mailboxpermissionscheck.csv
Monday, October 3, 2016
List all Users Who Have Access to Other Exchange Mailboxes (PowerShell)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment