[Script Of Feb. 11] How to check all users enabled Mailbox or not from a particular OU
The script is available for download from https://gallery.technet.microsoft.com//How-to-check-all-users-664661ed. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script will count Mailboxes in Organization Unit excluding its Child Organization Unit.
This script is to help Exchange Administrator to count Mailboxes in Organization Unit excluding its Child Organization Unit via PowerShell.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery