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>