Skip to content

Commit

Permalink
Change command
Browse files Browse the repository at this point in the history
Chnag Test-netconnection for test-connection
  • Loading branch information
kramit committed Feb 26, 2019
1 parent a5b738a commit bf88b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI Test/PingGUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $WPFtextBox.text = "8.8.8.8"
## add the get net ip info
function test-netip {
param($ip)
Test-NetConnection -ComputerName $ip | Select-Object ComputerName, RemoteAddress, PingSucceeded
Test-Connection -ComputerName $ip | select address, responsetime, ResponseTimeToLive
}


Expand Down

0 comments on commit bf88b32

Please sign in to comment.