6.0

VMware, Inc. 17
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
The4.1esxcli vmsnamespaceallowsyoutolistvirtualmachinesandforciblystopthem.Thenamespacehas
beenrenamed.
esxcfg-advcfg
Insteadofesxcfc-advcfg,useesxcli system settings advanced.Thefollowingcommandsare
supported.
swiscsi vmnic --list iscsi physicalnetworkportal
list
PerformoperationsontheiSCSIphysical
networkportal(uplink).
swiscsi session [--add |
--list | --remove]
iscsi session [add | list |
remove]
PerformoperationsoniSCSIsessions.
Note:Theaddandremovecommandsare
intendedonlyforusebyVMware
partners.
Usetheiscsi session connection
namespacetoperformoperationsonthe
iSCSIconnection.
esxcli 4.x esxcli 5.x Comment
vms vm kill vm process kill Forciblykillvirtualmachinesthatarenotresponding
tonormalstop
operations.Requiresthetypeofkilloperation(soft,hard,force)
andtheworldIDofthevirtualmachinetokill.
vms vm list vm process list DisplaytheworldIDofvirtualmachinesonthehost.
Table 9. esxcfg-advcfg Replacement Commands
esxcfg-advcfg option ESXCLI Command Description
-g|--get system settings advanced list
-o=option
GetthevalueoftheVMkerneladvanced
configurationoption.Us--optionto
retrieveinformationforasingleoption,or
--treetolimitthelisttoaspecificsubtree.
-s|--set <value> system settings advanced set SetthevalueoftheVMkerneladvanced
configurationoption.
-d|--default system settings advanced set
-d|--default
ResetaVMkerneladvancedconfiguration
optiontodefault.
-l|--list system settings advanced list ListallVMkernel
advancedconfiguration
options.
-q|--quiet Nolongersupported
-k|--set-kernel system settings kernel set SetaVMkernelloadtimeoptionvaluefor
thenextboot.
-j|--get-kernel system settings kernel list GetaVMkernelloadtimeoptionvaluefor
thenextboot.
-c|--get-config Notsupported
-m|--set-message system welcomemsg set Setthewelcomemessageforthedirect
console.Youcanretrievethemessagewith
system welcomemsg get.
-u|--uuid system uuid get EnsuretheVMkernelsystemUUID
isset
andprintit.
-G|--get-user-var system settings advanced list | grep
<var>
Getthevalueofauser-specifiedgeneric
value.
-S|--set-user-var system settings advanced set Setthevalueofauser-specifiedgeneric
value.
Table 8. esxcli swiscsi namespace (Continued)
ESXCLI 4.x esxcli 5.x Comment