进行替代,从而仅对具有 IIS 8 的服务器启用“未能检索到应用程序池状态”规则
Microsoft.Windows.InternetInformationServices.6.2.FailledToRetrieveApplicationPoolState.Override (RulePropertyOverride)
Element properties:
Source Code:
<RulePropertyOverride ID="Microsoft.Windows.InternetInformationServices.6.2.FailledToRetrieveApplicationPoolState.Override" Context="Microsoft.Windows.InternetInformationServices.6.2.ComputerGroup" Enforced="false" Rule="Microsoft.Windows.InternetInformationServices.6.2.FailledToRetrieveApplicationPoolState" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>