title: change iis .net framework version using cmd
body: <p>I want to change iis .net framework version using command line in windows 7. I have tred following solution but it doesn't work</p>
  
  <pre><code>C:\Windows\System32\inetsrv\appcmd.exe set config /section:system.applicationHost/applicationPools /applicationPoolDefaults.managedRuntimeVersion:"v4.0" /commit:apphost
  </code></pre>
  
  <p>Any idea how to make it work?</p>