Cound Windows Active Directory Users
Hi there, I am looking for a solution to count the number of users in active directory. it this possible with LM?
Enrico
2 comments
Hi there, I am looking for a solution to count the number of users in active directory. it this possible with LM?
LM User
Don't know if one is available on the exchange, but you should be able to build this pretty easily. https://interworks.com/blog/lsaunders/2018/12/19/a-quick-and-easy-way-to-get-active-directory-counts/
Just write a powershell script that uses one of these methods to return the number. Add a new DS that applies to your DC and use this as the powershell script. If your collector is not on the DC, you'll need to use invoke-command to run the command on the remote computer.
Enrico
OP? should be "Count" not "cound" - sorry