This will list all deploy rules created, not necessarily active rules. Looking at the result I see that the “ESXi-5.0.0-20110904001-standard” image is newer and I would like to deploy this to my hosts. To see what has changed between the existing image and the new image I want to deploy, I do a comparison:

Check what the deploy ruleset looks like now. First the deployrules available and next the active deployrules:

Get-deployRule
Get-deployRuleSet

One last check that needs to be performed is to see if your hosts are still compliant.

On initial boot the Auto Deploy server parses the host attributes against the rules engine to determine the Image Profile, Host Profile, and vCenter Cluster/Folder and saves this info. On subsequent reboots, it uses this saved info.

When copying the rule and updating the Image Profile, the hosts of that rule are no longer compliant because the image listed in the rule no longer matches the image the Auto Deploy server has saved for the host.