Does anybody have a fast function for pinging a list of machines using Powershell?
I know I can use Test-Connection:
Test-Connection -Count 1 -ComputerName (gc .\comps.txt) -ea silentlycontinue
but this seems painfully slow (I'm assuming because it uses Win32_PingStatus).
Even better would be an example of how running it as a background job to speed it up would be most useful.
Thanks