Skip to content

Commit

Permalink
new ping log history demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ninmonkey committed May 29, 2024
1 parent e73c5bf commit 3b2e5aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pwsh/Web/Start-PingLogLoop.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<#
.SYNOPSIS
repeat pinging until canceled by ctrl+c. Writes to log every iteration.
.NOTES
You can use the same code to write to an excel sheet using the module ImportExcel
.EXAMPLE
Pwsh> Start-TestConnectionLoop -SleepSeconds 0.1 -Verbose -Targets 'somedoesnotexist.com', 9.12.3.3, 'google.com', 1.1.1.1
Pwsh> Get-Content 'ping-history.csv'
Expand Down

0 comments on commit 3b2e5aa

Please sign in to comment.