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