how to create a managed folder mailbox policy using exchange management shell
Posted on 2011-10-18
I must journal my emails to a third party. Apparently the vendor does not yet have complete instructions on how to perform Push journaling for Exchange 2010 SP 1 - as I understand, some processes that used to be done thru the Exchange Management console must now be done with Exchange Management Shell. So I am on my own for this!
Part of the process is this: I have to create a policy to delete forwarded messages from the journaling mailbox. The first step is to create a managed content setting for the Deleted items folder. What I have created is below, and it is failing for this reason: No managed folder named 'Deleted Items' was found in the Active Directory. Make sure the folder name is spelled correctly. (more detail, may not be relevant...)
New-ManagedContentSettings -Name "Erado Archive Content Setting" -FolderName "Deleted Items" -MessageClass * -RetentionEnabled $true -RetentionAction DeleteAndAllowRecovery -AgelimitForRetention 07.00:00:00 -TriggerForRetention WhenDelivered
Where am I going wrong?