Knowledge Base

Our dedicated Product Specialist team is always ready to help you when you need it the most. Contact Support

How many active users are in my environment?

From time to time when setting up Specops or even just doing a general health check , you may wonder how many licenses would be appropriate for your environment. This is generally a good starting point when looking at your environment a whole. From here you can start to trim down how many users will need to license for Specops.

The following command will give you the active number of users in your entire domain:

get-aduser -filter {Enabled -eq "True"} | Measure-Object

If you are looking for a specific OU, you can utilize the following:

Get-ADUser -SearchBase "OU=Demo Users,DC=Demo,DC=com" -filter { enabled -eq $true } | Measure-Object

Publication date: October 4, 2022
Modification date: October 4, 2022

Was this article helpful?

Related Articles