Can I set a Managed Folder Mailbox Policy on either the server level or the mailbox database level?

In my environment, I have three Exchange 2007 CCR clusters.  Two of them house mailboxes for users in our corporate domain, and the other houses the mailboxes for users in our retail domain.  That being said, I need to be able to apply a managed folder mailbox policy on any current and new mailboxes on the CCR cluster in the retail domain.  Would the following CMDlets work for this?

Applying policy on basis on mailboxes on a store
Get-mailbox -Database <DB Name> | Set-Mailbox -ManagedFolderMailboxPolicy <policy name>

Applying policy on basis of mailboxes on specific server
Get-mailbox -server <servername> | Set-Mailbox -ManagedFolderMailboxPolicy <policy name>
LVL 1
AAP_MidrangeAsked:
Who is Participating?
 
AmitConnect With a Mentor IT ArchitectCommented:
Looks correct to me. However you and put -Whatif and check what it shows. If it shows what you need, remove -whatif and apply it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.