6.7

Table Of Contents
You can specify the following parameters in a rule.
Parameter Description
Name Name of the rule, specified with the -Name parameter.
Item One or more items, specified with the -Item parameter. An item can be an
image profile, a host profile, a vCenter Server inventory location (datacenter,
folder, cluster) for the target host, or a custom script. You can specify multiple
items separated by commas.
Pattern The pattern specifies the host or group of hosts to which the rule applies.
vendor Machine vendor name.
model Machine model name.
serial Machine serial number.
hostname Machine hostname.
domain Domain name.
ipv4 IPv4 address of the machine.
ipv6 IPv6 address of the machine.
PXE booting with BIOS firmware is possible only with
IPv4, PXE booting with UEFI firmware is possible with
either IPv4 or IPv6.
mac Boot NIC MAC address.
asset Machine asset tag.
oemstring OEM-specific strings in the SMBIOS.
You can specify -AllHosts to apply the item or items to all hosts.
Active Rule Set When a newly started host contacts the vSphere Auto Deploy server with a
request for an image profile, the vSphere Auto Deploy server checks the
active rule set for matching rules. The image profile, host profile,
vCenter Server inventory location, and script object that are mapped by
matching rules are then used to boot the host. If more than one item of the
same type is mapped by the rules, the vSphere Auto Deploy server uses
the item that is first in the rule set.
Working Rule Set The working rule set allows you to test changes to rules before making the
changes active. For example, you can use vSphere Auto Deploy cmdlets
for testing compliance with the working rule set. The test verifies that hosts
managed by a vCenter Server system are following the rules in the working
rule set. By default, cmdlets add the rule to the working rule set and
activate the rules. Use the NoActivate parameter to add a rule only to the
working rule set.
You use the following workflow with rules and rule sets.
1 Make changes to the working rule set.
VMware ESXi Installation and Setup
VMware, Inc. 101