Fix DHCP DNS reset handling (#4800)

This commit is contained in:
Chris Titus
2026-07-02 15:24:14 -05:00
committed by GitHub
parent e2d6f8534e
commit 32891ada55
4 changed files with 139 additions and 5 deletions
+3 -1
View File
@@ -70,7 +70,9 @@ function Invoke-WPFtweaksbutton {
}
}
Set-WinUtilDNS -DNSProvider $dnsProvider
if ($dnsProvider -ne "Default") {
Set-WinUtilDNS -DNSProvider $dnsProvider
}
for ($i = 0; $i -lt $tweaks.Count; $i++) {
Set-WinUtilProgressBar -Label "Applying $($tweaks[$i])" -Percent ($completedSteps / $totalSteps * 100)