August 20, 2010
#            
#Ping computer and just give result of action.            
#            
$strComputer = "localhost"            
$ping = New-Object System.Net.NetworkInformation.Ping            
$result = $ping.Send($strComputer)            
$result.Status
 
 

0 kommentarer: