July 2017
Intermediate to advanced
648 pages
31h 9m
English
In both steps, we use the Get-Mailbox cmdlet and specify the -Database parameter, which will retrieve all of the mailboxes in that particular database. In the first example, we have wrapped the command inside the @() characters to ensure that PowerShell will always interpret the output as an array. The reason for this is that if the mailbox database contains only one mailbox, the resulting output object will not be a collection, and thus will not have a Count property.
The second step makes use of the Measure-Object cmdlet. You can see that, in addition to the Count property, we also get a number of other ...
Read now
Unlock full access