Discover the Management Mode property of a BackwardCompatibility computer (from Timed event)

System.Mom.BackwardCompatibility.Computer.ManagementMode.TimedDiscovery.Agent (Discovery)

This property has the value 'Agent' for all Agent managed computers and 'Agentless' for remotely managed computers

Element properties:

TargetMicrosoft.Windows.Computer
EnabledFalse
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Mom.BackwardCompatibility.DiscoveryProvider Default

Source Code:

<Discovery ID="System.Mom.BackwardCompatibility.Computer.ManagementMode.TimedDiscovery.Agent" Enabled="false" Target="Windows!Microsoft.Windows.Computer">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="System.Mom.BackwardCompatibility.Computer">
<Property PropertyID="Management_Mode"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="System.Mom.BackwardCompatibility.DiscoveryProvider">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">15</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<Expression/>
<ClassId>$MPElement[Name="System.Mom.BackwardCompatibility.Computer"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System.Mom.BackwardCompatibility.Computer"]/Management_Mode$</Name>
<Value>Agent</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>