Powershell script gets all active directory users of an OU and produces a count
Import-Module ActiveDirectory $cnt = Get-ADUser -Filter * -SearchBase "OU=opw,DC=opwftg,DC=COM" $cnt.count