In this chapter, you will cover the following recipes:
Connecting to an ESXi host or a vCenter instance
Getting the VMware host object
Joining an ESXi host into Active Directory
Enabling services and setting security profiles
Setting network configuration
Creating datastores on an ESXi host
Configuring syslog settings on a host
Joining an ESXi host to vCenter
Creating a configuration script to set all properties uniformly