View Single Post
Old 04-15-2008   #1 (permalink)
ajax76
Guest
 
Posts: n/a

Is network available?

Hello all.

Is it best way to check that network available?

if([Net.NetworkInformation.NetworkInterface]::GetIsNetworkAvailable())
{
(New-Object Net.NetworkInformation.Ping).Send('google.com').Status}

Thanks for attention.