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
Interactive mode is also a quicker way to browse various namespaces and commands, as DCLI caches the
list of namespaces and commands available on the server for faster access. DCLI interactive mode provides
specic shell commands which can be accessed by running dcli> help.
You can change the prompt for DCLI interactive mode by using dcli +interactive +prompt <user-prompt>
when entering interactive mode.
DCLI SSL Connection
DCLI uses a secure connection by default. If you use DCLI from a system that is not secured, you must use
the +skip-server-verification option to connect remotely to a vCenter Server system.
DCLI History File
DCLI maintains a history le for each DCLI client that runs in interactive mode. The le stores information
on a per-user basis and not on a per-client basis.
You can nd the le at the following location.
Platform Location
Windows
C:\Users\<username>\AppData\VMware\vapi\dcli.log
vCenter Server Appliance
/var/log/vmware/vapi/dcli.log
Chapter 5 Running DCLI Commands
VMware, Inc. 51