8.0

Table Of Contents
2 In a PowerCLI session, run the Connect-VIServer cmdlet to connect to the vCenter Server
system that vSphere Auto Deploy is registered with.
Connect-VIServer ipv4_address
The cmdlet might return a server certificate warning. In a production environment, make sure
no server certificate issues occur. In a development environment, you can ignore the warning.
3 Run Add-EsxSoftwareDepot to add the online depot to the PowerCLI session.
Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-
index.xml
Adding the software depot is required each time you start a new PowerCLI session.
4 (Required) Display the rules in the active rule set by running the Get-DeployRuleset cmdlet.
5 Create a rule that instructs vSphere Auto Deploy to provision the set of hosts from a specified
IP range with the image profile that you previously selected and the host profile that you
created from the reference host.
New-DeployRule -name "Production01Rule" -item "image_profile",ESXiGold -Pattern
"ipv4=IP_range"
6 Add the new rule to the active rule set.
Add-DeployRule -DeployRule "Production01Rule"
7 Check the active rule set by running the Get-DeployRuleset command.
PowerCLI displays information similar to the following example.
Name: Production01Rule
PatternList: {ipv4=address_range}
ItemList: {ESXi-version-XXXXXX-standard, Compute01, ESXiGold}
What to do next
Provision the hosts and set up the host customizations.
Provision Hosts and Set Up Host Customizations
With the rule in place that provisions hosts using an image profile and a host profile, you can
provision specific target hosts. If any host profile items are set to prompt the user for input, the
host comes up in maintenance mode. You apply the host profile or check host compliance to be
prompted for the information. The system associates the host customization with the host.
VMware ESXi Installation and Setup
VMware, Inc. 211