We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_如何学GoClosed 6 years ago.
Improve this questionIs there 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.
The PowerShell Community Extensions include a fast ping (among other useful scripts and aliases)
http://pscx.codeplex.com/
精彩评论