Setting AutoInsert-Rule evaluation order

It is not possible in DSM to change the evaluation order of Rule objects through setting the EvaluationOrder-property. This can be accomplished using the Set-EmdbRuleEvaluationOrder cmdlet.


Hint: The execution of these examples requires a connected PowerShell drive.

In the following example, the value of the EvaluationOrder-property of the Rule "New Chicago Computers" is set to 1:

$MyAutoInsertRule = Get-EmdbAutoInsertRule "New Chicago Computers"

Set-EmdbRuleEvaluationOrder -Rule $MyAutoInsertRule -EvaluationOrder 1

Note: The Set-EmdbRuleEvaluationOrder cmdlet can be used for all Rule-objects, this means for AutoInsert-Rules as well as for Patch-Template-Rules and for Patch-Rollout-Rules.eln