Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

follow upQ on HOW to MOSt efficiently run test-connect

$
0
0

I noticed that if I run test-connect with a list of 25 targets and use -count1 -quiet I get all the answers together VERY fast.

1) will this scale up for 255 IPs?

2) How would this compare with using -asjob  (which confuses me)

My aim is a script to run over all my servers very fast with a single ping

identify who is not answering and further investigate with 4 pings and /or a test-path to \\server\c$\windows BEFORE alerting the system team by  email /sms that there is a problem

I am confused as to using -asjob - is the idea to loop (for example) over 255 IPs sending each test-connection as a background job?

much obliged


roys99


Viewing all articles
Browse latest Browse all 2562


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>