Ever wanted to quickly find all mailboxes and view the mailbox rights for each of those? Now you can with a PowerShell command that will show it to you.

Here is the command below:

ForEach($mailbox in (Get-Mailbox))
{
Get-MailboxFolderPermission -Identity “$($mailbox):\calendar” | fl Identity,AccessRights,FolderName
}

Exchange 2019:- how do i open the exchange management shell on windows server 2019 core?

There you have the output, I only have 3 accounts but if you have more you can then you will have alot of scrolling or you can export the info to CSV.

Hope it helps.

Discover more from Everything-PowerShell

Subscribe now to keep reading and get access to the full archive.

Continue reading