set managed folder mailbox policy on server mailboxes

The pshell command below will apply deleted items retention policy on all the mailboxes homed on a server. Please note that this policy is set on exchange organization level
 
 Get-Mailbox -Server “servername” -ResultSize unlimited | Set-Mailbox -ManagedFolderMailboxPolicy “Deleted Items Retention Policy” -ManagedFolderMailboxPolicyAllowed
 
use this pshell command to manually start the MRM service
 
Start-ManagedFolderAssistant -identity “servername” 
To set the schedule for the managed folder policy to run,
 
1. From exchange mgmt console, go to server configuration, click on mailbox, right click on your server, and click on properties
2. Click on messaging records management tab
3. Click on customize and choose desired schedule
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: