PowerShell, Wireless PowerShell foreach($perfil in (netsh wlan show profiles) | Select-String "\:(.+)$") { $perfil.Matches.Groups[1].Value.Trim() } 1234 foreach($perfil in (netsh wlan show profiles) | Select-String "\:(.+)$"){ $perfil.Matches.Groups[1].Value.Trim()}