Skip to content

Instantly share code, notes, and snippets.

@VictorGob
Last active November 3, 2021 12:29
Show Gist options
  • Select an option

  • Save VictorGob/beaa98f14e580470bde0477b5a9666b0 to your computer and use it in GitHub Desktop.

Select an option

Save VictorGob/beaa98f14e580470bde0477b5a9666b0 to your computer and use it in GitHub Desktop.
Script powershell para comprobar estado del wifi cada x segundos
# Check status
while($true)
{
Write-Host "Checkeando wiffi"
Get-Date | Add-Content wiffi_status.txt
netsh wlan show interfaces | select-string -Pattern '\sSSID','\sSeñal','\sEstado ' | Add-Content wiffi_status.txt
Start-Sleep -s 30
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment