How to: Create, View, Modify, and Delete a Policy-Based Management Condition
Policy-Based Management policies consist of one condition that expresses the state of a facet. A condition can be used in one or more policies. This topic describes how to create, view, modify, and delete a condition. The Create New Condition, General Page can be accessed independently, or when you create a policy.
Facets contain properties that expose options related to one area of policy management. You can select only one facet for a condition. Most facets have several properties. You can configure one or many of the properties as property expressions for the selected facet. The selected group of property expressions becomes the Policy-Based Management condition.
When you configure a facet property, you select a property, an operator, and a value. These three elements form a property expression, such as DatabaseMailEnabled = True. Several property expressions can be joined by using And or Or to form a complex logical statement, called a condition. When you create a condition, you are saving the state of the properties of a facet.
To create a condition
In Object Explorer, expand Management, expand Policy Management, expand Facets, right-click the facet that contains the properties that you want, and then click New Condition.
On the Create New Condition,General page, in the Name box, type the name of the new condition.
Confirm the correct facet in the Facet box, or select a different facet.
In the Expression area, construct condition expressions by selecting a facet property in the Field box, together with its associated operator and value. When you add multiple expressions, the expressions can be joined by using And or Or.
To create complex expressions, press the Shift or Ctrl keys, and then click two or more clauses to select a range. Right-click the selected area, and then click Group Clauses.
On the Description page, type a description of the new condition, and then click OK.
To view or modify a condition
In Object Explorer, expand Management, expand Policy Management, expand Conditions, right-click the condition that you want to view or edit, and then click Properties.
View the policy on the General page. Edit as needed.
To delete a condition
In Object Explorer, expand Management, expand Policy Management, expand Conditions, right-click the condition that you want to remove, and then click Delete.