Azure-Samples / TestDeviceRegConnectivity

MIT License
27 stars 12 forks source link

My important changes #4

Open dieseyer opened 1 year ago

dieseyer commented 1 year ago

Please provide us with the following information:

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

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

Minimal steps to reproduce

Start the script

Any log messages given by the failure

Error on line 277 $UserPrincipal = [System.DirectoryServices.AccountManagement.UserPrincipal]::Current Change to: $UserPrincipal = [Security.Principal.WindowsIdentity]::GetCurrent()

For german language change line 45 if ($global:ProxyServer -eq "Direct access (no proxy server)."){ to: if ($global:ProxyServer -eq "Direct access (no proxy server)." -or $global:ProxyServer -eq "DirectAccess (kein Proxyserver)."){

Expected/desired behavior

OS and Version?

Windows 10.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.