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

reset cas-mailbox for a user

In some cases, due to improper login to at the onset, user may have issues with opening attachments in OWA
 
a faster way to resolve this is by using adsiedit
 
Resolution:
 
while in ADSI, go to properties of user and set this attribute MSExchMailboxFolderSet to 2147483647
 
This setting enables all OWA features.
 
Note: In some cases, user still has his/her outlook web access frozen and not able to do anything.
re-creating user’s profile on the workstation fixed the problem

Running Exmerge from Windows XP SP2

According to Microsoft’s website, Exmerge tool is used to extract data from mailboxes on a Microsoft Exchange Server and then merge this data into mailboxes on another Microsoft Exchange Server. The program copies data from the source server into Personal Folders (.PST files) and then merges the data, in the Personal Folders, into mailboxes on the destination server.
steps to install exmerge on windows xp with sp2
1. Install the Exchange 2003 System Management Tools from exchange 2003 cd
2. download exmerge from:
3. Install Exmerge
4. Configure permissions on the database by using this powershell command:
Get-MailboxDatabase -identity “servernameFirst Storage GroupMailbox Database” | Add-ADPermission -user “DomainUsername” -ExtendedRights Receive-As, Send-As
Note that this command assumes you have setup exmerge account on the domain and will be using it for exmerge operations.

Configuring Message Tracking Log files on the Hub Transport

Set-TransportServer “servername” –MessageTrackingLogMaxDirectorySize 2GB

Use the following powershell commands to set message tracking age, max log file size and max directory size

1. setting the max log file size to 5MB
 Set-TransportServer HT2k7 –MessageTrackingLogMaxFileSize 5MB

2. setting the age for the logs
Set-TransportServer SERVERNAME –MessageTrackingLogMaxAge DD.HH:MM:SS

for eg

Set-TransportServer E2K7 –MessageTrackingLogMaxAge 15.00:00:00 (will set the logs to expire after 15days)
3. setting the max directory size to 2gb for eg

Set-TransportServer e2k7ht – MessageTrackingLogMaxDirectorySize 2GB