ESXi - 6.7 esxcli hardware

From Da Nerd Mage Wiki
Jump to navigation Jump to search

hardware

Device manager commands

bootdevice

  • list
List the boot device order, if available, for this host.
  • esxcli hardware bootdevice list

clock

  • get
Disply the current hardware clock time.
  • esxcli hardware clock get
  • set
Set the hardware clock time. Any missing parameters will default to the current time.
  • esxcli hardware clock set TIME
You must specify one of year, month, day, hour, minute or second

cpu

  • list
List all of the CPUs on this host.
  • esxcli hardware cpu list

cpuid

  • get
Get subset of CPUID fields for a CPU (deprecated, use: esxcli hardware cpu cpuid raw list).
  • esxcli hardware cpu cpuid get -c CPUID

raw

  • list
Get all CPUID fields for a CPU.
  • esxcli hardware cpu cpuid raw list -c CPUID

global

  • get
Get properties that are global to all CPUs.
  • esxcli hardware cpu global get
  • set
Set properties that are global to all CPUs.
  • esxcli hardware cpu global set -t HYPERTHREADING

ipmi

bmc

  • get
Get IPMI Baseboard Management Controller (BMC) properties.
  • esxcli hardware ipmi bmc get
  • set
Set IPMI Baseboard Management Controller (BMC) properties. Changes take effect immediately.
  • esxcli hardware ipmi bmc set

fru

  • get
Get IPMI Field Replaceable Unit (FRU) device details.
  • esxcli hardware ipmi fru get
  • list
List IPMI Field Replaceable Unit (FRU) inventory.
  • esxcli hardware ipmi fru list

sdr

  • get
Get IPMI Sensor Data Repository (SDR) properties.
  • esxcli hardware ipmi sdr get
  • list
List IPMI Sensor Data Repository.
  • esxcli hardware ipmi sdr list

sel

  • clear
Clear IPMI System Event Log.
  • esxcli hardware ipmi sel clear
  • get
Get IPMI System Event Log (SEL) properties.
  • esxcli hardware ipmi sel get
  • list
List IPMI System Event Log.
  • esxcli hardware ipmi sel list

memory

  • get
Get information about memory.
  • esxcli hardware memory get

pci

  • list
List all of the PCI devices on this host.
  • esxcli hardware pci list

platform

  • get
Get information about the platform
  • esxcli hardware platform get

power

  • get
Display the current power policy.
  • esxcli hardware power policy get
  • set
Set the power policy.
  • esxcli hardware power policy set

choices

  • list
List the power policies.
  • esxcli hardware power policy choices list [CHOICE]
[CHOICE]
 -i|--id=<long>        Power policy numeric id
 -n|--name=<str>       Power policy name
 -s|--short-name=<str> Power policy short name

smartcard

certificate

  • list
Certificates from inserted smart cards.
  • esxcli hardware smartcard certificate list

info

  • get
Information about the smart card subsystem.
  • esxcli hardware smartcard info get

slot

  • list
Information about connected smart card readers.
  • esxcli hardware smartcard slot list

token

  • list
Information about inserted smart cards.
  • esxcli hardware smartcard token list

tpm

tag

  • get
Get the TPM's tag (from index 0x40000010).
  • esxcli hardware tpm tag get
  • set
Set the TPM's tag (at index 0x40000010).
  • esxcli hardware tpm tag set [DATA]
  • clear
Clear the TPM's tag (at index 0x40000010).
  • esxcli hardware tpm tag clear
[DATA]
 -d|--data=<str>       The tag data to store in the TPM (with hexadecimal byte encoding).
                       (required)

trustedboot

  • get
Information about the status of trusted boot. (TPM, DRTM status)
  • esxcli hardware trustedboot get

usb