ITLady45
asked on
Powershell script to compare group membership for various users listed in txt file.
New to powershell.
Is there a quick script someone can provide?
Windows 2008 R2 DCS.
I have a list of users in a txt file. I need to search the list of users in txt file and their group membership to see if there is a common group listed then export to CSV file.
Any help would be greatly appreciated!
Is there a quick script someone can provide?
Windows 2008 R2 DCS.
I have a list of users in a txt file. I need to search the list of users in txt file and their group membership to see if there is a common group listed then export to CSV file.
Any help would be greatly appreciated!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
Your CSV must have a user's PrimarySMTPAddress ad header mean:
Email
user01@contoso.com
user02@contoso.com
..................
.................
..................