How to globally assign managed folder mailbox policies
I know how to assign a policy to individual users, but is there anyway to assign it to all users in a database, storage group, or the entire server? Thanks in advance for help...
September 20th, 2007 10:03pm

You need to use Exchange Command Shell - EMS , to run the following command: Get-Mailbox ResultSize Unlimited | Set-Mailbox -ManagedFolderMailboxPolicy "Policy_Name" -Confirm: $False simply this command will bring all mailbox users , if you have more than 1000 users, then the "-ResultSize Unlimited" will display all mailbox users, then this command will pipe line the output to set the managed folder policy to all the users. the last switch "-Confirm: $False, will skip the confirmation message that you got when you apply this policy. note that, there is a space between "-Confirm:" and $False, i had to use a space here otherwise i will get a funny face instead of the correct command , please remember to remove the space before you run the command. please test it first before applying it on all your mailboxes. i've test it , and use it on production system, and it works fine. please let me know if this post was helpful or not. Regards,
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2007 10:42pm

Yes, was very helpful. I was just looking (hoping for a more "inherited method"). Using this method will require some kind of daily task to be run to get the results I am looking for. In any case I appreciate your help.
September 24th, 2007 5:26pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics