The Condition Class
The Condition class provides status for Condition instances in anynode. All properties are read-only. For each configured Condition, one class instance exists. The property ObjectRecordName has the key qualifier and uniquely identifies an instance.
Some WMI queries are only available starting from anynode version 4.16.(Check out available WMI queries with the PowerShell command below).
To display all available contents of the Condition class locally without credentials, you can use the following command:
Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "Condition"
-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace
for anynode.
-Class "Condition" : Selects the "Condition" class to retrieve its contents.
Condition Class Properties
The table below lists the properties of the 'Condition' class in alphabetical order. All properties are read-only.
Property: Comment
Type: string
Description: The property provides the symbolic name of the Condition from configuration.
Property: ConditionSystem
Type: uint32
Description: The property provides the evaluated system-side condition state. Valid values are:
-
1: True -
2: False
Property: ConditionValue
Type: uint32
Description: The property provides the evaluated condition value. Valid values are:
-
1: True -
2: False
Property: EventIdConditionFalse
Type: uint32
Description: The property provides the event identifier raised when the condition evaluates to false.
Property: EventIdConditionTrue
Type: uint32
Description: The property provides the event identifier raised when the condition evaluates to true.
Property: Index
Type: uint32
Description: The property provides the numeric index of the instance (1 .. number of configured Conditions).
Property: ObjectRecordName
Type: string
Description: The property provides the unique object identifier from configuration. It has the key attribute and identifies the instance.