n8watcher
Contributor
Contributor

""myVar"" didn't returned an error message exept from:

ABORT. Encountered error in Powershell. Error while executing script: Process exited with an error: 1 (Exit value: 1)

But VM and OU are created and VM is domain joined but because of error complete deployment faild and VM is decomissioned.

:disappointed_face: so same as before.

Didn't get it what is here the problem with the OU Path from custom form. As I said when I only change OU path to static it's working:

Write-Output New-ADOrganizationalUnit -Name "TESTDL" -Path "OU=TEST,dc=test1,dc=test,dc=intern" -ProtectedFromAccidentalDeletion $false -Credential $ADcredential -Server $domainController -ErrorAction Ignore

Reply
0 Kudos