Hello Everyone:
I could use a bit of a hand: I am trying to automate the process of OU creation using Powershell.
Problem: I am able to create a base OU named Managed Objects and place a sub OU under Managed Objects, but I can not place any OUs under my Managed Objects sub OU.
How can achieve this using something like: New-ADOrganizationalUnit -Name "Tax Prep" -Path "ou=Managed Objects,dc=$StrDCName,dc=$StrDCSuffix"
I tried doing: New-ADOrganizationalUnit - Name "Workstations" -Path "ou=Managed Objects, ou=Tax Prep,dc=$StrDCName,dc=$StrDCSuffix but that did not seem to work.
Any help would be greatly appreciated!