Mailbox database details cli
Here are some common mailbox database details that can be retrieved using the Exchange Management Shell (EMS) or PowerShell:
Get-MailboxDatabase
Get-MailboxDatabase
- Retrieves a list of all mailbox databases in the Exchange organization.Get-MailboxDatabase -Status
- Retrieves a list of mailbox databases with their current status (e.g., healthy, corrupted, etc.).
Mailbox Database Properties
Get-MailboxDatabase <DatabaseName> | fl
- Retrieves detailed information about a specific mailbox database, including its name, server, database size, and more.Get-MailboxDatabase <DatabaseName> | fl *Size*
- Retrieves information about the size of a specific mailbox database, including the total size, available size, and more.
Mailbox Database Statistics
Get-MailboxDatabaseStatistics
- Retrieves statistics about mailbox databases, including the number of mailboxes, total size, and more.Get-MailboxDatabaseStatistics -Server <ServerName>
- Retrieves statistics about mailbox databases on a specific server.
Mailbox Database Recovery
Get-MailboxDatabase -Recoverable
- Retrieves a list of mailbox databases that are recoverable (i.e., can be restored from backup).Get-MailboxDatabase -Recoverable | fl
- Retrieves detailed information about recoverable mailbox databases.
Mailbox Database Corruption
Get-MailboxDatabase -Corrupted
- Retrieves a list of mailbox databases that are corrupted.Get-MailboxDatabase -Corrupted | fl
- Retrieves detailed information about corrupted mailbox databases.
Mailbox Database Maintenance
Get-MailboxDatabase -Maintenance
- Retrieves a list of mailbox databases that require maintenance (e.g., database cleanup, defragmentation, etc.).Get-MailboxDatabase -Maintenance | fl
- Retrieves detailed information about mailbox databases that require maintenance.
These are just a few examples of the many mailbox database details that can be retrieved using the Exchange Management Shell or PowerShell.