Forum Discussion
2 Replies
Sort By
- 5 minutes ago, Enrico said:
Hi there, I am looking for a solution to count the number of users in active directory. it this possible with LM?
? should be "Count" not "cound" - sorry
- Stuart_Weenig
Mastermind
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.
Related Content
- 3 months ago
- 5 months ago