Skip to content

Commit 7949ece

Browse files
committed
Add time to finish summary
1 parent 2884131 commit 7949ece

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

WinNetPulse.ps1

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
param()
1+
\<#
2+
WinNetPulse v1.3
3+
New:
4+
- Packet Loss % detection
5+
- Colorized latency display
6+
- Full summary block
7+
- Ping count presets (10 / 30 / 50 / 100 / 200 / -t infinite)
8+
- Tracert mode
9+
- Timestamp for each result line
10+
#>
11+
12+
param()
213

314
function Show-Header {
415
Clear-Host
@@ -181,7 +192,7 @@ function Run-PingMode {
181192

182193
$result = Invoke-PingTest $target $count
183194

184-
Write-Host "`n===== NetPulse Summary =====" -ForegroundColor Cyan
195+
Write-Host "`n===== WinNetPulse Summary =====" -ForegroundColor Cyan
185196

186197
Write-Host "Target: $($result.Target)"
187198

@@ -193,6 +204,8 @@ function Run-PingMode {
193204

194205
Write-Host "Avg = $($result.Avg) ms"
195206

207+
Write-Host "Finished at: $(Get-TimeStamp)"
208+
196209
Write-Host "=============================" -ForegroundColor Cyan
197210
}
198211

0 commit comments

Comments
 (0)