Question: Hi I keep receiving an error after putting in this command to create a new AD user in PowerShell. It keeps giving me The string
Hi I keep receiving an error after putting in this command to create a new AD user in PowerShell. It keeps giving me "The string is missing the terminator" Its a red squiggly line under -AccountPassword $passwd -Enabled $True. I'm not sure what it can be, because I have tried several things.
Thank you
New-ADUser Name Kevin Azevedo GivenName Kevin Surname Azevedo UserPrincipalName kazevedo@corp.net SamAccountName kazevedo DisplayName Kevin Azevedo -Path OU=Users,OU=Greenville,OU=SC,DC=corp,DC=net -AccountPassword $passwd -Enabled $True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
