Avatar of Can
Can

asked on 

Create bulk AD groups from CSV.

Hi All,

I have around 100 servers in my test environment. I would like to create 2 Active Directory domain local security groups for each server. 1 for local admin rights and 1 for remote desktop users. Groups can look like:

DLG-LocalAdministrator-SERVERNAME
DLG-RemoteDesktopUsers-SERVERNAME

I have an active directory export of these servers in a CSV file. How can i automate to create those groups with each servername in them?

Thanks in advance.
Active DirectorySecurityPowershell

Avatar of undefined
Last Comment
oBdA

8/22/2022 - Mon