Enable / Disable Circular Logging on all databases
There are some cases where Circular logging can be helpful – when migrating a large amount of email in from another system for example.
Get-StorageGroup | Set-StorageGroup -CircularLoggingEnabled $true
However, remember to re-disable it when done;
Get-StorageGroup | Set-StorageGroup -CircularLoggingEnabled $false
The Information Store must be restarted for either of these changes to take place – if you have a DAG then bounce over the active copy to another server (and back if required) to do this.
As correctly pointed out be MB the above is 2007 shell not 2010 (my bad!!)
The below is 2010 shell instead;
Get-MailboxDatabase | Set-MailboxDatabase -CircularLoggingEnabled $true
Bizarrely I must have been thinking of 2010 when I wrote this as I clearly mention DAG’s
However both require an Information Store restart – failover usually achieves this just make sure to take all databases on that node over and if in doubt then restart the service 😀