填入已停用連接埠監視群組的 Windows Server 2016 及更新版本
Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group.Discovery (Discovery)
此規則會透過 [新增監視精靈] 填入包含已停用連接埠監視之 Windows Server 2016 及更新版本作業系統種子的群組。
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group.Discovery" Target="Microsoft.Windows.Server.10.0.PortMonitoringDisabled.Group" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.10.0.PortMonitoringDisabledGroup.ContainsWindowsServer.10.0.ProcessSeed"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.Server.10.0.PortMonitoringDisabledGroup.ContainsWindowsServer.10.0.ProcessSeed"]$</RelationshipClass>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/PortMonitoringEnabled$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>False</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<UnaryExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/PortMonitoringEnabled$</Property>
</ValueExpression>
<Operator>IsNull</Operator>
</UnaryExpression>
</Expression>
</Or>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>