optimize ping on windows

This commit is contained in:
Christoph Hartmann 2015-10-09 19:21:12 +02:00
parent 38ac1ea931
commit f4ed4cf7f5

View file

@ -116,6 +116,7 @@ class WindowsHostProvider < HostProvider
request += " -RemotePort #{port}" unless port.nil?
request += '| Select-Object -Property ComputerName, RemoteAddress, RemotePort, SourceAddress, PingSucceeded | ConvertTo-Json'
p request
request += '| Select-Object -Property ComputerName, PingSucceeded | ConvertTo-Json'
cmd = @vulcano.command(request)
begin