Hi
I have a Powershell Code
$error.Clear()
$Output = netsh wlan show profiles
$WLANCreds = $Output |
Select-String -Pattern "Profil f.r alle Benutzer :", "All User Profile" |
ForEach-Object {
$out = ($_ -split ":")[-1].Trim() -replace '"'
$profile = netsh wlan show profiles name=$out key=clear
$pw = $profile | select-string -Pattern "Authentifizierung","Authentication"
if ($pw) {
$pw2 = ($pw -split ":")[-1].Trim() -replace '"'
if ($pw2 -eq "Open") {