We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
--> Important: In the CSV are passwords defined.
$csv = Import-Csv -Delimiter ";" -Path "C:\import.csv" $csv | New-ADUser -Enabled $true -ChangePasswordAtLogon $true -AccountPassword (ConvertTo-SecureString $csv.AccountPassword -AsPlainText -Force)
ConvertTo-SecureString : The argument can not be bound to the parameter "string" because it is NULL.When I delete the column "AccountPassword" it's also working with multiple entities.
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.