title: Ping in startup script
body: <p>Can ping command be used in a startup script to check connectivity to a network server ?
  Powershell startup script:</p>
  
  <pre><code>$Ping=new-object System.Net.NetworkInformation.Ping
  $Reply=$ping.send("MyServer01")
  if ($Reply.status() -eq "Success")
  {
  Perform operations
  }
  Else
  {Perform other operations}
  </code></pre>
  
  <p>Rightnow, the $reply is blank during startup script execution but has values if I run after logged in.</p>
  
  <p>Thanks.</p>