Azure-Samples / Azure-Samples/TestDeviceRegConnectivity

My important changes

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
35
Forks
14
PR merge metrics
No merged PRs in 30d

Description

> 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.