Powershell: Find users who are member of groups with certain name
Posted on 2013-11-18
I'm working at some company where a lot, about 50%, of the global security groupnames start with: "GGCTX-"
I would like to have a powershell script which I can feed a CSV file with usernames and that gives me only the groupnames that starts with "GGCTX" the user is member of.
I'm a lousy scripter. Scripts i've found on the internet that looked promising and that I tried to adjust did not do the trick and gave me at best a screen full of garble.
Is there anyone who can help me on this, or at least give me a kick into the right direction ?