We help IT Professionals succeed at work.

Deleted Item Retention Policy Change

We have recently changed our Deleted Item Retention Policy. All NEW accounts are using this policy by default. How do I get the mailboxes that have already been created to also follow this policy? (without having to visit each mailbox?)
Comment
Watch Question

Commented:
Hmmm, have the mailboxes got individual policies set? Or are they set to use the information store default?

If they are set to use the IS default the all you need to do is set the Exchange Server Store to have the required retention policy or add the store to a policy with the required setting

Author

Commented:
Some boxes have the default policy box CHECKED... and some do not...  I want to make sure ALL the boxes (on each store) follow the policy

Commented:
Get-Mailbox | Set-Mailbox -UseDatabaseQuotaDefaults:$True

that should do it...

OR
get-mailboxdatabase E2k7SrvMS001 | set-mailbox -UseDatabaseQuotaDefaults:$true

will set to true for every mailbox in the E2k7SrvMS001 store.

Commented:
Ignore the above... That is for the mailbox limits not retention settings

Commented:
You need UseDatabaseRetentionDefaults instead of UseDatabaseQuotaDefaults

Commented:
You should be able to find the exceptions with:
Get-Mailbox | Where {$_.UseDatabaseRetentionDefaults -eq $False} | Select Name, UseDatabaseRetentionDefaults

Author

Commented:
THANKS

Commented:
No problem, thanks for the points