Tuesday, July 28, 2015

Number of active users in AD

Hi All,
Buenos dias. Today we post a powershell line to Activie Directory that can bring a great excuse for a coffee.
This line will bring the number of enabled users in your domain, enjoyed the idea?
Well, I have several cafes, or several conversations about the response of this command.
(Get-ADUser -filter * | where {$ _. Enabled -eq "True"}). Count

No comments:

Post a Comment