With the WebAdministration module loaded try this on a pool that you’ve created:
Set-ItemProperty IIS:\AppPools\<pool_name> managedRuntimeVersion v4.0
With the WebAdministration module loaded try this on a pool that you’ve created:
Set-ItemProperty IIS:\AppPools\<pool_name> managedRuntimeVersion v4.0