Friday, July 9, 2021

Batch script to find out whether a host is up or down

 

For /f %%i in (testservers.txt) do ping -n 1 %%i >>state.txt

https://superuser.com/questions/733168/batch-script-to-find-out-whether-a-host-is-up-or-down

No comments:

Post a Comment

Related post:

Related Posts with Thumbnails