Database Maintenance and Management CMDLETS

Home/Exchange Server/Exchange 2010/Database Maintenance and Management CMDLETS

Database Maintenance and Management CMDLETS

Defrag Mailbox Database
eseutil /d EX10mbx01.edb /t E:DBEX10mbx05defragEX10mbx01_temp.edb

Disable Exchange Search for a mailbox database
Set-MailboxDatabase “EX10MBX01” -IndexEnabled $FALSE

Enable Exchange Search for a mailbox database
Set-MailboxDatabase “EX10MBX06” -IndexEnabled $TRUE

Get Status of Database Indexing
Get-MailboxDatabase | Sort-Object -Property IndexEnabled | ft name, IndexEnabled -autosize

Set Circular Logging for Database
Set-MailboxDatabase -identity EX10mbx21 -CircularloggingEnabled:$true

Get Databases with Provisioning
Get-MailboxDatabase | sort name | ft name, *provisioning* -auto

Get Databases in Circular Logging
Get-MailboxDatabase | Sort-Object -Property CircularLoggingEnabled | ft name, CircularloggingEnabled -autosize

Get Status of Backups
Get-MailboxDatabase -status | sort-object -property lastfullbackup | ft name,lastfullbackup -auto

Please feel free to share.
By | 2013-07-14T00:19:11+00:00 July 14th, 2013|Exchange 2010, Exchange Server|0 Comments

About the Author:

Leave A Comment