Required Litigation Hold/Edit "add mailbox" scripts in Exchange 2010

Basically I'm attempting to set up Exchange to retain all mail for all users indefinitely in an unpreserved state (lawyers made the edict on this one, we've tried to convince them otherwise but we didn't win that battle).

My approach is to automatically enable "litigation hold" in exchange 2010 on all mailboxes.

Is there a way to make sure this is always enabled?

If not, how do I edit the "add mailbox" powershell scripts so it'll automatically set that flag whenever the admin creates a mailbox (then I'll just run a powershell cronjob to make sure all accounts have it set).
Who is Participating?
AmitConnect With a Mentor IT ArchitectCommented:
You cannot enable litigation old on the mailbox creation now by powershell neither from the EMC

what you can do is have a script maybe run every night or 12 hours to do the following

$mbx = get-mailbox -ResultSize unlimited

$mbx | Set-Mailbox -LitigationHoldEnabled $true

This will insure that litigation hold is enabled on all accounts, and here is a tutorial I wrote about how to schedule a SCript in exchagne 2010
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.