Probably a ton of ways:) what we use at the moment-
"Servername -like" gets across our several mailbox servers and sorts by the
policy so we know who has (or doesn't have) a policy...
get-mailbox -resultsize unlimited | where { $_.servername -like "*mbx*" } |
Select Name,RetentionPolicy | sort RetentionPolicy
From: Eric [mailto:[email protected]]
Sent: Tuesday, August 10, 2010 11:28 AM
To: MS-Exchange Admin Issues
Subject: Powershell List Applied Managed Folder Policy
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!