Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Get List of Empty AD Groups in a Domain

$
0
0

Below powershell command will give you the list of AD groups which does not have any members.

Get-ADGroup -Filter * -Properties Members | where {-not $_.members} | select Name | Export-Csv ADemptygroups.csv –NoTypeInformation


Viewing all articles
Browse latest Browse all 31638

Trending Articles