Get a List of Mail Boxes With Exchange Delegates
If you run a large Exchange environment, or you may have been hired to a company with an existing Exchange infrastructure, but at some point you will want to audit the mail boxes to find any users that have delegated access to their mailbox to other people. Below is a Power Shell script does just that.
$AllUsers = Get-Mailbox * -resultsize:unlimited
ForEach ($Alias in $AllUsers)
{
$Mailbox = "" + $Alias.Name + ":\Inbox"
Get-MailboxFolderPermission -identity $Mailbox | Select User,FolderName,AccessRights `
| Ft $Mailbox,User,FolderName,AccessRights >> delegates.csv
}



Recent Comments