Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies. Only from Platform Scholar.
--> 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.
|Use New-SelfSignedCertificate to create a Trusted Root certificate||5||80|
|failed test FsmoCheck - A Time Server could not be located||4||36|
|How to create a GPO to create a shortcut link in Favorites||2||39|
|Add server count in powershell||4||23|
Join the community of 500,000 technology professionals and ask your questions.