Virtualization, Cloud, Infrastructure and all that stuff in-between
My ramblings on the stuff that holds it all together
POSH 1-Liners: Count the number of enabled Active Directory accounts in PowerShell
October 20, 2018
Posted by on (get-aduser -filter *|where {$_.enabled -eq “True”}).count
Handy!
Also – another useful post to create a load of valid-looking AD accounts for your lab..