Tee Ping to a File on Windows

Using Powershell's Tee-Object you can…

Login

Blog History

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.