Exchange 2016 get mailbox database size

To get the mailbox database size in Exchange 2016, you can use the following methods:

Method 1: Using the Exchange Management Shell

  1. Open the Exchange Management Shell.
  2. Run the following command: Get-MailboxDatabase | fl Name, DatabaseSize

This will display a list of mailbox databases and their corresponding sizes.

Method 2: Using the Exchange Management Console

  1. Open the Exchange Management Console.
  2. Navigate to "Server Configuration" > "Mailbox" > "Database Management".
  3. Right-click on the mailbox database you want to check and select "Properties".
  4. In the "Database Properties" window, click on the "General" tab.
  5. The "Database Size" field will display the size of the mailbox database.

Method 3: Using PowerShell Remoting

  1. Open PowerShell.
  2. Run the following command: Invoke-Command -ComputerName <Exchange_Server_Name> -ScriptBlock {Get-MailboxDatabase | fl Name, DatabaseSize}

Replace <Exchange_Server_Name> with the name of your Exchange server.

Method 4: Using the Exchange PowerShell cmdlet

  1. Open PowerShell.
  2. Run the following command: Get-MailboxDatabase -Status | fl Name, DatabaseSize

This will display a list of mailbox databases and their corresponding sizes.

Note: The Get-MailboxDatabase cmdlet returns a list of mailbox databases, and the fl cmdlet formats the output as a table. The Name and DatabaseSize properties are used to display the mailbox database name and size, respectively.