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
Getting Started with vSphere Command-Line Interfaces
4 VMware, Inc.
AuthenticatingDirectlytotheHost 30
UsingaSessionFile 30
UsingEnvironmentVariables 30
UsingaConfigurationFile 31
UsingCommand‐LineOptions 31
UsingMicrosoftWindowsSecuritySupportProviderInterface 32
vCLIandLockdownMode 32
TrustRelationshipRequirementforESXCLICommands 33
DownloadingandInstallingthevCenterServerCertificate 33
Usingthe‐‐cacertsfileOption 33
Usingthe‐‐thumbprintOption 33
UsingtheCredentialStore 34
Common
OptionsforvCLIHostManagementCommandExecution 34
UsingvCLICommandsinScripts 36
RunningHostManagementCommandsfromaWindowsSystem 37
RunningHostManagementCommandsfromaLinuxSystem 37
5 RunningDCLICommands 39
OverviewofRunningDCLICommands 39
DCLISyntax 40
DCLIOptions 40
RunningDCLICommands 41
DisplayingHelpInformationforDCLICommands 41
RunningDCLICommandsIncludedinthevCLIPackage 42
RunningDCLICommandsonthevCenterServerAppliance 42
UsingDCLIwithaCredentialStoreFile 42
OrderofPrecedenceforDCLIAuthentication 43
Input,Output,andReturnCodes 43
UsingDCLIwithVariables 43
DCLIHistoryFile 44