Azure-Samples / TestDeviceRegConnectivity

MIT License
27 stars 12 forks source link

Http proxy parameters not detected in french version of Win 10 #5

Open macjl opened 1 year ago

macjl commented 1 year ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When using this script in a non english system, the winHttp proxy settings are not recognised. The script is trying to search the string Proxy Bypass List :, but the system respond with Serveur(s) proxy :

Expected/desired behavior

Execute the netsh winhttp show proxycommand in english context.

OS and Version?

Windows 10 Entreprise 21H2 French

Mention any other details that might be useful


Thanks! We'll be in touch soon.

macjl commented 1 year ago

Example

SirConfigMgr commented 1 year ago

I have a similar problem in the German Windows version. I had to change in line 45 the query from:

$global:ProxyServer -eq "Direct access (no proxy server).

to

$global:ProxyServer -eq "DirectAccess (kein Proxyserver).