Categories
Coding

How Many Users In An Active Directory Group?

This is a useful PowerShell snippet for determining how many users there are in an Active Directory group. (Get-ADGroup "CN=MyGroup,DC=domain,DC=co,DC=uk" -Properties *).Member.Count

This is a useful PowerShell snippet for determining how many users there are in an Active Directory group.

(Get-ADGroup "CN=MyGroup,DC=domain,DC=co,DC=uk" -Properties *).Member.Count