Microsoft Azure .Net Framework Rule
Microsoft.SystemCenter.MicrosoftAzure.DotNetVersion.Rule (Rule)
Microsoft Azure .Net Framework rule
Knowledge Base article: Element properties: Member Modules:
Source Code: <Rule ID="Microsoft.SystemCenter.MicrosoftAzure.DotNetVersion.Rule" Enabled="false" Target="SC!Microsoft.SystemCenter.ManagementService" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="RegistryData" TypeID="Windows!Microsoft.Windows.RegistryProvider">
<ComputerName>.</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Framework452Installed</AttributeName>
<Path>SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>900</Frequency>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Values/Framework452Installed</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Integer">379893</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertMessageId>$MPElement[Name='Microsoft.SystemCenter.MicrosoftAzure.DotNetVersion45NotFound.AlertMessage']$</AlertMessageId>
<Suppression>
<SuppressionValue>$Target/Id$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>