I am trying to bulk add users to a group using QAD and change their password.
Is there any reason that the below code shouldn't work?
import-csv C:\Scripts\groups.csv | foreach {
Add-QADGroupMember -Identity $_.GroupName -Member $_.Members.Split(";")
Set-QADUser -Identity $_.Members.Split(";") -UserPassword $_.Password1
}