Automate direct domain enrollment across Windows versions

This commit is contained in:
alexrg committed 2026-09-11 17:34:19 -06:00
1 parent 7f8a9eed4e
commit 520b4be955
23 files changed
+1244 -108

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ try {
if ($Connect) {
& "$env:SystemRoot\System32\rasdial.exe" $ConnectionName
if ($LASTEXITCODE -ne 0) {
throw "Windows could not connect $ConnectionName. Verify UDP 500/4500 (IKEv2) or use the Azure-generated SSTP profile when the local network blocks IKEv2."
throw "Windows could not connect $ConnectionName. Verify UDP 500/4500 (IKEv2), or configure the Azure-generated OpenVPN profile in Azure VPN Client when the local network blocks IKEv2."
}
}