Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.66 KB

commands.md

File metadata and controls

40 lines (30 loc) · 1.66 KB

VMware CLI Commands

Enable Maintenance Mode

[juan@fractal:~] esxcli system maintenanceMode get
Disabled
[juan@fractal:~] esxcli system maintenanceMode set --enable=true
[juan@fractal:~] esxcli system maintenanceMode get
Enabled

List Profiles

[juan@fractal:~] esxcli software sources profile list -d /vmfs/volumes/fractal_hdd/VMware-ESXi-7.0U3g-20328353-depot.zip
.ash_history      bin/              bootpart4kn.gz    lib/              locker/           proc/             scratch/          tardisks/         var/              vmupgrade
.mtoolsrc         bootbank/         dev/              lib64/            mbr/              productLocker/    store/            tmp/              vmfs/
altbootbank/      bootpart.gz       etc/              local.tgz         opt/              sbin/             tardisks.noauto/  usr/              vmimages/
[juan@fractal:~] esxcli software sources profile list -d /vmfs/volumes/fractal_hdd/VMware-ESXi-7.0U3g-20328353-depot.zip
Name                           Vendor        Acceptance Level  Creation Time        Modification Time

---

ESXi-7.0U3g-20328353-standard  VMware, Inc.  PartnerSupported  2022-09-01T00:00:00  2022-09-01T00:00:00
ESXi-7.0U3g-20328353-no-tools  VMware, Inc.  PartnerSupported  2022-09-01T00:00:00  2022-08-23T03:00:16
[juan@fractal:~]

Install Update

[juan@fractal:~] esxcli software profile update -d /vmfs/volumes/fractal_hdd/VMware-ESXi-7.0U3g-20328353-depot.zip -p ESXi-7.0U3g-20328353-standard

ESXi Bundle Update Command

esxcli software vib update -d "/vmfs/volumes/DellPV-10k/ISO/VMware-VMvisor-Installer-6.5.0.update03-19092475.x86_64-DellEMC_Customized-A09.zip"