# Add Rule Options for Hyper-V

To discover VMs automatically, you can configure rules using search criteria. This is useful if you need to include specific types of VMs in the backup content of a VM group.

- Match rule: To include instances that match all rules, select all. To include instances that match any of the rules, select any.

- Criteria list: Select a search criterion from the menu, such as VM name/pattern.

- Operators list: To define the rule, select an operator from the list, such as Equals or Starts with.

- Add a value: Enter a text string or specify a text pattern using wildcards (for example, Test* to identify instances for which the instance name begins with "Test") that appear in the criteria you selected, such as VM name/pattern.

## Examples

### Identifying All VMs in a Domain

1. In the criteria list, select Guest DNS hostname.

2. From the operators list select Ends with.

3. In the Add rule box, enter mycompany.com.

4. Click Save.

### Identifying All Windows VMs

1. In the criteria list, select Guest OS.

2. From the operators list select Contains.

3. In the Add a value box, enter Microsoft.

4. Click Save.

### Identifying VMs on the Same Host

1. In the criteria list, select Host.

2. From the operators list select Equals.

3. Click the Browse button.

   The Add content dialog box appears.

4. Select the hosts that you want to include in the backup content, and then click OK.

5. Click Save.

### Identifying VMs Using Notes

1. In the criteria list, select Notes.

2. From the operators list select Contains.

3. In the Add a value box, enter text that appears in annotations for the VM Summary.

   For example, to identify VMs with notes that begin with "Test", enter Test*.

4. Click Save.

### Identifying VMs Based on Power Status

1. In the criteria list, select Power state.

2. From the operators list select Equals.

3. From the Value list, select one of the available options.

   For example, to identify VMs that are powered on, select On.

4. Click Save.

### Identifying VMs Based on Replication Mode

1. In the criteria list, select Replication Mode.

2. From the operators list select Equals.

3. From the Value list, select one of the available options.

   - Primary: Backs up all VMs that are primary-source VMs in Hyper-V replication.

   - Replica: Backs up all VMs that are replica VMs in Hyper-V replication, including failover VMs and extended replication.

×

Loading...