Tee Ping to a File on Windows

by | Jul 11, 2023 | IT Tips | 0 comments

Using Powershell's Tee-Object you can view the output and pipe it to a file

 ping 10.17.66.100 -t | Tee-Object -FilePath teed_ping_results.txt

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.