vinissh

Google-Dns-Teste-ComArrays.ps1

Jan 21st, 2021
659
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Script que usa array 2
  2.  
  3. clear-host
  4. $GoogleDNS = @("8.8.8.8", "1.1.1.1")
  5. $TotalDNS = $GoogleDNS.Count
  6. Write-Host Pingando todos os $TotalDNS DNS do Google
  7. Test-Connection $GoogleDNS -Count 1
  8. sleep 3
  9. Write-Host FIM!
RAW Paste Data