I have a request to pull a list from Active Directory of First and Last names from a list of usernames and list users in a list of AD groups.
Does anyone have a script for the following?
1. Based on a list of usernames in a text file, Query First and Last names to a .csv
2. Export group membership to a .csv