September 14, 2020

(Add multiple users to an AD group)

$List = Import-Csv C:\Users.csv
foreach ($user in $List){Add-ADGroupMember -Identity "group-name" -Members $user.sAMAccountName}