title: Is there a command line command for verifying what version of .NET is installed
body: <p>I have set of scripts for doing scripted installs.  You can use the scripts on any server 2008 machine.  However, I need to check if .NET 3.5 has been installed (before the scripts run) using a dos batch file.  Is that possible?  </p>
  
  <p>I know I can check if a file in the <code>C:\WINDOWS\Microsoft.NET\Framework\v3.5</code> exists, but it would be nice to have something a little more reliable.  </p>
  
  <p>I would like to check if it's actually installed, not just if the dir/file exists.</p>
  
  <p>Thanks</p>