Table of Contents

Microsoft Exchange Storage

Exchange Storage Planning and Testing: http://blogs.technet.com/b/exchange/archive/2011/01/07/3411776.aspx

Exchange 2013

Move Exchange Database

http://exchangeserverpro.com/exchange-2013-move-database-to-new-folder-path/

Adjust to meet your needs:

Move-DatabasePath "Mailbox Database 1480691381" -EdbFilePath "E:\Exchange\Mailbox Database 1480691381.edb" -LogFolderPath "E:\Exchange\Mailbox Database 1480691381"

Move Mailboxes to Another Database

http://www.azure365pro.com/how-to-remove-exchange-2013-default-databasesrecommended-way/

https://justaucguy.wordpress.com/2012/10/05/exchange-server-2013-preview-remove-original-database/

Useful commands:

Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize

Get-Mailbox -Arbitration | Where {$_.Name -like "SystemMailbox*" } | ft -wrap

Get-Mailbox -Arbitration -Database "Mailbox Database 0205328201"

Get-Mailbox -Arbitration -Database "Mailbox Database 0205328201" | New-MoveRequest -TargetDatabase "System"

Get-MoveRequest | Get-MoveRequestStatistics

Get-Mailbox -Database "Mailbox Database 0205328201"

New-MoveRequest -Identity "Discovery Search Mailbox" -TargetDatabase "System" -BatchName "Discovery Mailbox"

Get-Mailbox -Database "Mailbox Database 0205328201" | New-MoveRequest -TargetDatabase "MailboxDB1" -BatchName "All Mailboxes from Original DB"

Get-MoveRequest | Remove-MoveRequest -Confirm:$false

Failed Move

https://blogs.technet.microsoft.com/mikehall/2013/08/06/managing-failed-mailbox-move-requests/

Delete a Database

Get-MailboxDatabase $olddb | Remove-MailboxDatabase

Repair a Mailbox

New-MailboxRepairRequest -Mailbox "Mailbox Name" -CorruptionType ProvisionedFolder,SearchFolder,aggregatecounts,folderview

Exchange 2010

http://exchangeserverpro.com/defrag-exchange-server-mailbox-databases

http://exchangeserverpro.com/defrag-exchange-2010-mailbox-database

http://blogs.technet.com/b/exchange/archive/2012/01/30/3470667.aspx

Quotas

Show quota settings:

get-mailbox -server "server" -ResultSize unlimited | Where {$_.UseDatabaseQuotaDefaults -eq $false} | Sort-Object DisplayName | ft DisplayName,IssueWarningQuota,ProhibitSendQuota > C:\quota_exceptions.txt

Show quota usage:

get-mailbox -server "server" -ResultSize unlimited | Where {$_.UseDatabaseQuotaDefaults -eq $false} | Get-MailboxStatistics | Sort-Object DisplayName | ft DisplayName,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}} > C:\quota_exceptions_size.txt