Powershell - AD Groups - view total number of users in each group.

Hi

I have a list of AD groups saved in a text file (+- 400) and I would like to have visibility on the total number of users in each group. Can this be scripted and exported to a csv to use the list I have and simply show the number of users per AD Group ?

Thanks



September 8th, 2015 2:25am

Get-AdGroup -filter * -Properties members |select name, @{N='Count';E={$_.members.count}} | ft -auto

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2015 2:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics