OSDeploy / OSD

OSD Shared Functions
MIT License
132 stars 54 forks source link

Test-WebConnection use HTTPS and not just HTTP #52

Open XxQuaDxX opened 1 year ago

XxQuaDxX commented 1 year ago

Is your feature request related to a problem? Please describe. Not all internal corporate networks allow port 80 traffic to google.com so OSDCloud reports many errors when it tries to see if there is a network connection and can unnecessarily prompt to connect to Wi-Fi when there is already a network connection

Describe the solution you'd like If Test-WebConnection could try both https and http connections to google.com by default during OSDCloud it would help minimize errors shown on the screen

Describe alternatives you've considered Dealing with the extra errors and prompts is fine, just annoying and leading to a bad user experience.

Example of what the script could look like: https://github.com/XxQuaDxX/WinPE/blob/main/Test-WebConnection.ps1