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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!