8.0

Table Of Contents
6 Test the rule compliance for each host that you want to deploy the image to.
a Verify that you can access the host for which you want to test rule set compliance.
Get-VMHost -Name ESXi_hostname
b Run the cmdlet that tests rule set compliance for the host, and bind the return value to a
variable for later use.
$tr = Test-DeployRuleSetCompliance ESXi_hostname
c Examine the differences between the contents of the rule set and configuration of the host.
$tr.itemlist
The system returns a table of current and expected items if the host for which you want to
test the new rule set compliance is compliant with the active rule set.
CurrentItem ExpectedItem
----------- ------------
my_old_imageprofile my_new_imageprofile
d Remediate the host to use the revised rule set the next time you boot the host.
Repair-DeployRuleSetCompliance $tr
7 Reboot the host to provision it with the new image profile.
Reprovision a Host with a New Image Profile by Using the vSphere Client
You can use vSphere Auto Deploy to reprovision a host with a new image profile with the vSphere
Client by changing the rule that the host corresponds to and activating the rule.
Prerequisites
n Verify that the image profile you want to use to reprovision the host is available. See Create an
Image Profile.
n Verify that the setup you performed during the first boot operation is in place.
Procedure
1 Navigate to Home > Auto Deploy.
By default, only the administrator role has privileges to use the vSphere Auto Deploy service.
2 On the Deploy Rules tab, from the list of rules in the inventory select the rule and click Edit.
The Edit Deploy Rule dialog box appears.
3 (Optional) On the Name and hosts page of the wizard, enter a name for the new rule.
VMware ESXi Installation and Setup
VMware, Inc. 163