6.0

Technical Note
VMware, Inc. 1
Command-Line Management in vSphere 5 and
vSphere 6 for Service Console Users
ESXi 6.0
StartingwithvSphere5.0,theserviceconsole(alsocalledconsoleOSorCOS)withitsassociatedLinux
installationisnolongeravailable.IfyouarecurrentlyusingESXserviceconsolecommands,scripts,agents,or
logs,thistechnicalnotehelpsyoutransitiontoanoffhostimplementationortousetheESXi
Shellinspecial
cases.
ThefocusofthisdocumentisonESXCLIcommandsandvicfg-commands.CommandsinthedCLI
commandset,availableinvSphere6.0andlater,areinitiallyformanagingvCenterservicesandnotforhost
management.Thesecommandsarenotdiscussedinthisdocument.
“Introduction”onpage 1
“TransitioningServiceConsoleCommands”onpage 2
“ESXiShellAccess”onpage 5
“ReplacingAgents”onpage 10
“LogginginvSphere5andLateronpage 10
“RetrievingNetworkingInformation”onpage 13
“A d d i n g ThirdPartyExtensionstoHosts”onpage 13
“ReferencetoReplacementsforServiceConsoleCommands”onpage 13
Introduction
InvSphere5.xandvSphere6.x,VMwareoffersthefollowingtools,CLIs,andAPIsthatreplaceESX4.xservice
consolecomponents.
IMPORTANTChangesmadetothehostusingtheDCUI,thevSphereClient,ESXCLI,orotheradministrative
toolsarecommittedtopermanentstorageeveryhourorupongracefulshutdown.Changesmightbelostifthe
hostfailsbeforetheyarecommitted.
CLI or Tool Description Availability
vCLI IncludesESXCLIcommands,vicfg-
commands,andafewothercommandsfor
managingvSphere.
InstallavCLIpackageonaWindowsorLinux
systemorruncommandsfromvMA.
PowerCLI PowerCLIcmdletsformanagingESXihostsand
virtualmachines.
InstallMicrosoftPowerShellonaWindows
system,andinstallvSpherePowerCLItorun
bothPowerShellandPowerCLIcmdletfromthe
PowerCLIprompt.

Summary of content (30 pages)