Forum Discussion

Enrico's avatar
2 years ago

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?

2 Replies

  • 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

  • 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.