mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-25 03:18:16 +02:00
Update check-dns.ps1
This commit is contained in:
parent
700c81d09a
commit
4f4638b2fb
@ -2,7 +2,7 @@
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Checks the DNS resolution
|
Checks the DNS resolution
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script measures and prints the DNS resolution speed by using 200 frequently used domain names.
|
This PowerShell script measures and prints the DNS resolution speed by using 200 popular domains.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-dns
|
PS> ./check-dns
|
||||||
.LINK
|
.LINK
|
||||||
@ -12,8 +12,8 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "⏳ (1/2) Loading Data/frequent-domains.csv..."
|
Write-Progress "⏳ (1/2) Loading Data/popular-domains.csv..."
|
||||||
$Table = Import-CSV "$PSScriptRoot/../Data/frequent-domains.csv"
|
$Table = Import-CSV "$PSScriptRoot/../Data/popular-domains.csv"
|
||||||
$NumRows = $Table.Length
|
$NumRows = $Table.Length
|
||||||
|
|
||||||
Write-Progress "⏳ (2/2) Resolving $NumRows domains..."
|
Write-Progress "⏳ (2/2) Resolving $NumRows domains..."
|
||||||
|
Loading…
Reference in New Issue
Block a user