I am trying to create a powershell script/command to list all the mailboxes in our organization and which managed folder policies are applied. This is what I used to apply the policy but want to verify that all the mailboxes were applied the policy.
Get-User -organizationalUnit staff | Where-Object {$_.RecipientType -eq
"UserMailbox"} | Set-Mailbox -ManagedFolderMailboxPolicy "Default Managed
Custom Folders"
Thanks!
