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. 5
GettingStartedwithvSphereCommand‐LineInterfacesgivesanoverviewofcommand‐lineinterfacesin
vSphere 5.0andlaterandgetsyoustartedwithESXiShellcommandsandvCLI(VMware
®
vSphere
Command‐LineInterface)commands.ThisbookalsoincludesinstructionsforinstallingvCLIandareference
toconnectionparameters.
Intended Audience
ThisbookisforexperiencedWindowsorLinuxsystemadministratorswhoarefamiliarwithvSphere
administrationtasksanddatacenteroperations.
VMware Technical Publications Glossary
VMwareTechnicalPublicationsprovidesaglossaryoftermsthatmightbeunfamiliartoyou.Fordefinitions
oftermsastheyareusedinVMwaretechnicaldocumentation,gotohttp://www.vmware.com/support/pubs.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhavecomments,sendyour
feedbacktodocfeedback@vmware.com.
Related Documentation
ThedocumentationforvCLIisavailableinthevSphereDocumentationCenterandonthevCLI
documentationpage.Gotohttp://www.vmware.com/support/developer/vcli.
Command‐LineManagementinvSphere5andvSphere6forServiceConsoleUsersisatechnicalnoteforusers
whoarecurrentlyusingESXserviceconsolecommands,scripts,agents,orlogs.Youlearnhowto
transitiontoanoff‐hostimplementationortousetheESXiShellinspecialcases.
vSphereCommand‐LineInterfaceConceptsandExamplespresentsusageexamplesformanyhost
managementcommands,andexplainshowtosetupsoftwareandhardwareiSCSI,addvirtualswitches,
placehostsinmaintenancemode,andsoon.ThedocumentincludesthesameexamplewiththeESXCLI
commandandwiththevicfg-command.
vSphereCommand‐LineInterfaceReferenceisareferencetobothESXCLIcommandsandvicfg-commands.
Thevicfg-commandhelpisgeneratedfromthePODavailableforeachcommand,runpod2htmlfor
anyvicfg-commandtogenerateindividualHTMLfilesinteractively.TheESXCLIreferenceinformation
isgeneratedfromtheESXCLIhelp.
DCLIReferenceisareferencetoDCLIcommandsformanagingvCenterservices.
ThedocumentationforPowerCLIisavailableinthevSphereDocumentationCenterandonthePowerCLI
documentationpage.
About This Book