mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 21:20:51 +01:00
Updated train-dns-cache.ps1
This commit is contained in:
parent
3e1d7901e5
commit
3e1964cf8c
@ -19,7 +19,7 @@ try {
|
|||||||
$Count = $Table.Length
|
$Count = $Table.Length
|
||||||
$StopTime = Get-Date
|
$StopTime = Get-Date
|
||||||
$TimeInterval = New-Timespan -start $StartTime -end $StopTime
|
$TimeInterval = New-Timespan -start $StartTime -end $StopTime
|
||||||
write-host "✔️ DNS cache trained with $Count domain names in $TimeInterval sec."
|
write-host "OK - DNS cache trained with $Count domain names in $TimeInterval sec."
|
||||||
exit 0
|
exit 0
|
||||||
} catch { Write-Error $Error[0] }
|
} catch { Write-Error $Error[0] }
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user