daphnissov
Immortal
Immortal

Use a Write-Output statement in your catch block just before invoking New-ADOrganizationalUnit. Show the output from a failed run to see what value is present. Also, remove double quotes around that variable as it's not needed.

Reply
0 Kudos