Exchange 2015 get mailbox database size

To get the mailbox database size in Exchange 2015, 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 the Exchange Management Shell.
  2. Run the following command: Invoke-Command -ComputerName <ServerName> -ScriptBlock {Get-MailboxDatabase | fl Name, DatabaseSize}

Replace <ServerName> with the name of the Exchange server you want to check.

Method 4: Using the Exchange PowerShell cmdlet

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

This will display a list of mailbox databases and their corresponding sizes, along with other status information.

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 name and size of each mailbox database, respectively.