Azure-Samples / Azure-Samples/TestDeviceRegConnectivity
Script is not language aware.
- Vorherrschende Sprache
- PowerShell
- Sterne
- 35
- Forks
- 14
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Minimal steps to reproduce
>
Run script on a german OS
### Any log messages given by the failure
>
netsh winhttp show proxy returns on a German OS:
```
Aktuelle WinHTTP-Proxyeinstellungen:
DirectAccess (kein Proxyserver).`
```
The script filters on
`($global:ProxyServer -eq "DirectAccess (no proxy server).")`
which returns false and is incorrect in this scenario.
so please change this to sth more suiting query like:
`($global:ProxyServer -match ".*DirectAccess.*")`
### Expected/desired behavior
>
returns true, as no proxy server is used.
### OS and Version?
Server 2022 DE
### Versions
>
### Mention any other details that might be useful
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.