title: How to check if a IIS directory is virtual directory or not?
body: <p>I am trying to find a way to write a script which will check if a IIS 6 directory is a virtual directory or not (see image below - I would like to see if TestMPIService is a virtual dir or not).</p>
  
  <p>I tried with Powershell and WMI, but I am unable to find that information anywhere. Anybody has an idea how to do such thing?</p>
  
  <p><a href="http://img518.imageshack.us/img518/7484/capturehwjvbx.png" rel="nofollow noreferrer">alt text http://img518.imageshack.us/img518/7484/capturehwjvbx.png</a></p>