Just in case anyone can help.

Another (what I thought) was a simple proposition.

I have a list of AD Groups in a txt or csv file.
I want to simply output the name of each one and the count of the users.

I'm over thinking it I'm sure............

Started simply
$Group = 'myadgroupname'
$Users = Get-AdGroupMember - Identiy $ADGroup
Write-output $AdGroup $Users.count

This works  - but can't get the reading in from a txt or csv to work.

No laughing..............




Reply via email to