Add use of give-reply.ps1

This commit is contained in:
Markus Fleschutz
2021-12-06 17:00:49 +01:00
parent 589ba8e93c
commit 3a0cb4a001
38 changed files with 74 additions and 116 deletions

View File

@ -31,9 +31,8 @@ try {
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
$Average = [math]::round($Count / $Elapsed, 1)
$Reply = "$Average domains per second DNS resolution"
"✔️ $Reply"
& "$PSScriptRoot/speak-english.ps1" "$Reply"
& "$PSScriptRoot/give-reply.ps1" "$Average domains per second DNS resolution"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"