AD: Simple count users in an OU

(Get-ADUser -Filter * -SearchBase “ou=Users,ou=London.UK,ou=EMEA,ou=Divisions,dc=bla,dc=com” -server “bla.com”).count

Leave a Reply

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