# Check status Write-Host "Checkeando wiffi" while($true) { $output = "" $red = "" $fecha = Get-Date $red = netsh wlan show interfaces | select-string -Pattern '\sSSID','\sSeƱal','\sEstado ' | Out-String $output = "$fecha $red" Write-Host $output Add-Content wiffi_status.txt -Value $output Start-Sleep -s 10 }