Hi everyone,
I'm having problems with creating a AD user in a sub ou, I have tried a lot possibilities but I'm unable to make a user in my sub OU. So MyOU>MySubOU
New-ADUser -name "glenjohn" -SamAccountName "glenjohn" -DisplayName "Glen John" -GivenName "Glen" -Surname "John" -PasswordNeverExpires $true -Enabled $true -accountPassword (ConvertTo-SecureString -AsPlainText "Admin2015" -Force) -Path 'OU=MyOU,OU=MySubOU,DC=domain,DC=subdomain,DC=com'
I hope that it is clear what I'm trying to do, and that someone can help me.
Best regards,
Woody268
- Edited by Woody268 Friday, May 29, 2015 1:04 PM