Continuing on my PowerShell learning experience...
I am trying to create an Application Pool in IIS and set some settings. I can create the pool ok but am unable to actually set the settings. Here is what I have:
$appPool = New-Item "My New App Pool"
$appPool.managedPipelineMode = "Classic"
$appPool.managedRuntimeVersion = "v4.0"
$appPool.enable32BitAppOnWin64 = "True"
My issue is the pool gets created but none of the settings stick. I do not see anything like an $appPool.Save, etc.
How do I get the items I am setting to stick?