July 2017
Intermediate to advanced
648 pages
31h 9m
English
In both the commands, we're using the Get-MailboxDatabase cmdlet to pipe each database in the organization to the Get-MailboxStatistics cmdlet. Note that in the next stage of the pipeline, we are filtering on the DisconnectDate property. Inside the filter, we are using the exclamation (!) character, which is a shortcut for the -not operator in PowerShell. So we are basically asking to get all the mailboxes in the organization that are not in a disconnected state. These can be standard mailboxes as well as archive mailboxes. We then select the DisplayName and TotalItemSize properties that give us the name and total mailbox size of each mailbox.
Read now
Unlock full access