I am curious if someone could point me in a direction on creating a Powershell script to create groups and members.
Here is my scenario, I have a text file named Group1.txt. Inside of Group1.txt, I have a list of users as follows:
That is all that exists in the text file. I am looking for a way to create a powershell script to create the Active Directory group based on the filename of the text file (Group1). Then I would like to add members as they exist in the text files. I have hundreds of these text files in a single directory, and need to find the fastest way possible of importing them into AD.
Thank you for any assistance you may be able to provide.