mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
optimize ping on windows
This commit is contained in:
parent
38ac1ea931
commit
f4ed4cf7f5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue