gnsdaw
Last Updated: February 25, 2016
·
888
· gexos

Test-connection using PowerShell

A quick connectivity test to a remote computer:

if(test-connection $computer -count 1 -quiet){ <#Do this#> }
else { <#Do that#> }