Update check-dns-resolution.ps1

This commit is contained in:
Markus Fleschutz 2021-10-19 09:30:04 +02:00
parent 5e5d359049
commit 3942b3cb26

View File

@ -31,7 +31,7 @@ try {
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
$Average = [math]::round($Count / $Elapsed, 1)
"✔️ $Average domains/sec ($Count domains resolved in $Elapsed sec)"
"✔️ DNS resolves $Average domains/sec ($Count domains in $Elapsed sec)"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"