Browsed by
Month: August 2017

How many users are in your AD Group?

How many users are in your AD Group?

Simple command which will count how many users are in your Active Directory group. This will require administrative privileges. In PowerShell run: Import-Module ActiveDirectory (get-aduser -filter {memberof -recursivematch “CN=Staff,OU=Groups,DC=bargent,DC=com”}).count