0
I am trying to set the current properties using powershell
- disallowRotationOnConfigChange
- disallowOverlappingRotation
I do this with the following code
$appPools = Get-childItem IIS:\AppPools
foreach ($appPool in $appPools)
{
$appPool.name
Set-ItemProperty $path -Name recycling.disallowRotationOnConfigChange -value True
Set-ItemProperty $path -Name recycling.disallowOverlappingRotation -value True
}
after this executes I go check in inetmgr and the properties have not budged from False... what am I doing wrong here ?
1@krystanhonour you can accept it now :) – Tom Robinson – 2015-01-26T12:07:12.103
Did this fix it? – BenjiWiebe – 2013-02-01T13:38:02.677