Chapter 1. Configuring the Basic Settings of an ESXi Host with PowerCLI

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

Introduction

Initially, automation doesn't save time. To get the benefits of automation, you must invest the time upfront to create scripts that you'll use time and again. In this chapter, you'll take your first ESXi host that has been installed with an IP address configured ...

Get PowerCLI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.