Extract total mailbox count using PowerShell

 Extract total mailbox count using PowerShell


Steps 

1. Login to exchange online PowerShell

2. Run below mentioned commands to extract total count for respective mailbox type.


User Mailbox


(Get-Recipient -RecipientTypeDetails usermailbox -ResultSize Unlimited).count


Shared Mailbox


(Get-Recipient -RecipientTypeDetails sharedmailbox -ResultSize Unlimited).count


No comments: