Created
January 13, 2014 12:11
-
-
Save normansolutions/8399252 to your computer and use it in GitHub Desktop.
PowerShell script to display all users to have access to other mailboxes in Exchange. Thanks to: http://exchangeserverpro.com/list-users-access-exchange-mailboxes/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 mailboxpermissions.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment