Hi PSBeginner,
First of all I'm assuming your after the AD Groups that a user belongs to, rather than local groups. You'll need to get a copy of Quests' powershell add-in, which will give you everything you need to work with AD groups. To keep them simple, Quest has prefixed them all with Q's.
So the one your after is QAD-GetMemberOf.
Usage is similar to: Get-QADMemberOf -Identity user@domain.com
You can also pipe the input from a csv file or something similar if you have one.
Good luck, Mitsu.
|