diff --git a/Sources/WAU/Winget-AutoUpdate/functions/Test-Network.ps1 b/Sources/WAU/Winget-AutoUpdate/functions/Test-Network.ps1 index 10e3dc1..04a9036 100644 --- a/Sources/WAU/Winget-AutoUpdate/functions/Test-Network.ps1 +++ b/Sources/WAU/Winget-AutoUpdate/functions/Test-Network.ps1 @@ -20,7 +20,7 @@ function Test-Network { } try { - $ncsiResponse = Invoke-WebRequest -Uri "http://$($ncsiHost)/$($ncsiPath)" -UseBasicParsing + $ncsiResponse = Invoke-WebRequest -Uri "http://$($ncsiHost)/$($ncsiPath)" -UseBasicParsing -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::Chrome) } catch { $ncsiResponse = $false }