6.0
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
- Running Host Management Commands from a Windows System
- Running Host Management Commands from a Linux System
- Running DCLI Commands
- Index
VMware, Inc. 7
1
vSpheresupportsseveralcommand‐lineinterfacesformanagingyourvirtualinfrastructureincludingasetof
ESXiShellcommands,PowerCLIcommands,andDCLIcommandsformanagementofvCenterservices.You
canruncommandslocally,fromanadministrationserver,orfromscripts.
YoucanchoosetheCLIbestsuitedforyourneeds,and
writescriptstoautomateyourmanagementtasks.
Thischapterincludesthefollowingtopics:
“OverviewofvSphereCommand‐LineInterfaces”onpage 8
“UsingESXCLIforHostManagement”onpage 10
“UsingPowerCLItoManageHostsandVirtualMachines”onpage 11
“UsingDCLItoManagevCenterServices”onpage 11
“vCLIPackageContents”onpage 12
Managing vSphere with
Command-Line Interfaces
1