Count Number of AD Users – PowerShell

Very quick piece of PowerShell that will count the number of AD Users in your domain

We can then extend this to only count the Enabled AD users

This is all well and good but we want to dive deeper and search on multiple OUs.

So, letsĀ  search in multiple OUs, and only count the Enabled AD users;

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *