6.5
Table Of Contents
- Getting Started with vSphere Command-Line Interfaces
- Contents
- About This Book
- Managing vSphere with Command-Line Interfaces
- Installing vCLI
- Running Host Management Commands in the ESXi Shell
- Running vCLI Host Management Commands
- Overview of Running vCLI Host Management Commands
- Protecting Passwords
- Authenticating Through vCenter Server and vCenter Single Sign-On
- Authenticating Directly to the Host
- Trust Relationship Requirement for ESXCLI Commands
- Common Options for vCLI Host Management Command Execution
- Using vCLI Commands in Scripts
- Run Host Management Commands from a Windows System
- Run Host Management Commands from a Linux System
- Running DCLI Commands
- Index
Managing vSphere with Command-
Line Interfaces 1
vSphere supports several command-line interfaces for managing your virtual infrastructure including a set
of ESXi Shell commands, PowerCLI commands, and DCLI (Datacenter CLI) commands for management of
vCenter services. You can run commands locally, from an administration server, or from scripts.
You can choose the CLI best suited for your needs, and write scripts to automate your management tasks.
This chapter includes the following topics:
n
“Overview of vSphere Command-Line Interfaces,” on page 7
n
“Using ESXCLI for Host Management,” on page 10
n
“Using PowerCLI to Manage Hosts and Virtual Machines,” on page 12
n
“Using DCLI to Manage vCenter Services,” on page 12
n
“vCLI Package Contents,” on page 13
Overview of vSphere Command-Line Interfaces
vSphere includes commands for managing dierent aspects of your environment.
The following CLIs are available for managing hosts, either directly or through the vCenter Server system
that manages the host. You can also manage vCenter services by using DCLI.
VMware, Inc.
7