1 2 3 4 5 | foreach($perfil in (netsh wlan show profiles) | Select-String "\:(.+)$") { $nombrep = $perfil.Matches.Groups[1].Value.Trim() (netsh wlan show profile name="$nombrep" key=clear) } |
1 2 3 4 5 | foreach($perfil in (netsh wlan show profiles) | Select-String "\:(.+)$") { $nombrep = $perfil.Matches.Groups[1].Value.Trim() (netsh wlan show profile name="$nombrep" key=clear) } |