Link to home
Start Free TrialLog in
Avatar of Brandon Mac
Brandon Mac

asked on

AD powershell creating new OU in child OU

Server 2012 R2 Powershell as administrator
So I believe I'm doing something wrong with the powershell command it works to create a parent and then a child in the parent but unable to create child inside of child or however it would be labeled

DC Test.local
OU Parent Test1
OU Child Site1
Unable to create Computers inside of Site1

new-adorganizationalunit -name "Computers" -path "OU=Test1, OU=Site1, DC=test, DC=local"

What is the issue here ?
ASKER CERTIFIED SOLUTION
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brandon Mac
Brandon Mac

ASKER

Thanks Toni,
 I was just putting the wrong container first.