title: How do I set the .NET Framework Version when using New-WebAppPool?
body: <p>I'm looking to see how I can use the IIS PowerShell Cmdlet <strong>New-WebAppPool</strong> to specify the version of the .NET Framework to use.  Currently, it defaults to v2.0, however I am using MVC, and this will not work because that's a v4.0 feature.  We really want each site to have its own Application Pool, and it seems we must create those pools manually due to the inability to configure them via script.  Is there any way to automate this?</p>
  
  <p>I'm afraid the answer is going to be "you can't," because the <a href="http://technet.microsoft.com/en-us/library/ee790585.aspx" rel="noreferrer">documentation</a> doesn't appear to offer any parameters for setting it, and Google is turning up squat; it's giving me the impression that only setting up sites in a scripted manner is acceptable, and something about configuring Application Pools is just "not done."  I can't possibly imagine why not - if you're automating one major part of the process, why can you not automate the other major part?</p>
  
  <p>Anyone who might have some insight on how to do this via PowerShell would be helping me out greatly.</p>