This commit is contained in:
Chris Long
2020-06-13 22:43:10 -07:00
committed by GitHub
parent 1dbe8a75b2
commit 7f837cbb1d

View File

@@ -28,7 +28,7 @@ catch [Microsoft.ActiveDirectory.Management.ADServerDownException] {
New-ADOrganizationalUnit -Name "Servers" -Server "dc.windomain.local"
}
catch {
Write-Host "Something went wrong attempting to reach AD or create the OU.
Write-Host "Something went wrong attempting to reach AD or create the OU."
}
# Create the Workstations OU if it doesn't exist
@@ -47,7 +47,7 @@ catch [Microsoft.ActiveDirectory.Management.ADServerDownException] {
New-ADOrganizationalUnit -Name "Workstations" -Server "dc.windomain.local"
}
catch {
Write-Host "Something went wrong attempting to reach AD or create the OU.
Write-Host "Something went wrong attempting to reach AD or create the OU."
}
# Sysprep breaks auto-login. Let's restore it here: