Get Mailbox Statistics operation


The Get Mailbox Statistics process obtains information about a mailbox, such as the size of the mailbox, the number of messages it contains, and the last time it was accessed.
The following table describes the input parameters for Get Mailbox Statistics process

Adapter request parameters for Get Mailbox statistics process

Element

Definition

Required

<Database>

Specifies the name of the mailbox database

When you specify a value for the Database parameter, the Exchange Management Shell returns statistics for all the mailboxes on the database specified.

  • You can use the following values:
  • Server\StorageGroup\Database
  • Server\Database
  • Database

Yes

<Server>

Specifies the server from which you want to obtain mailbox statistics

You can use one of the following values:

  • Fully qualified domain name (FQDN)
  • NetBIOS name (When you specify a value for the Server parameter, the command returns statistics for all the mailboxes on all the databases, including recovery databases, on the specified server. If you do not specify this parameter, the command returns logon statistics for the local server.)

    This parameter accepts pipeline input from the Get-ExchangeServer and Get-MailboxServer cmdlets.

Yes

<DomainController>

Specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service

The DomainController parameter should be included in the command.

No

<Identity>

Specifies a mailbox

When you specify a value for the Identity parameter, the command looks up the mailbox that is specified in the Identity parameter, connects to the server where the mailbox resides, and returns the statistics for the mailbox. You can use one of the following values:

  • GUID
  • Distinguished name (DN)
  • Domain\Account
  • User principal name (UPN)
  • Legacy Exchange DN
  • SmtpAddress
  • Alias

No

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*