关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。
想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。
4年前关闭。
Improve this question
是否有使用 PowerShell ping 计算机列表的快速功能?
我知道我可以使用测试连接:
Test-Connection -Count 1 -ComputerName (gc .\comps.txt) -ea silentlycontinue
但这似乎非常缓慢(我假设是因为它使用 Win32_PingStatus)。
更好的例子是如何将它作为后台作业运行以加速它是最有用的。
最佳答案
PowerShell 社区扩展包括快速 ping(以及其他有用的脚本和别名)
http://pscx.codeplex.com/
关于powershell - PowerShell 的快速 ping 功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3470936/