Get-VMHostFirmware
This cmdlet retrieves firmware information for the hosts specified by the VMHost parameter. To specify a server different from the default one, use the Server parameter. To run this cmdlet, you need to have the "Host.Config.Firmware" permission to the ESX.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
VMHost[] | named |
|
Specifies the hosts for which you want to retrieve firmware information. | optional |
|
VIServer[] | named |
|
This parameter is required when you specify the host by name. In this case, the host with the specified name is searched on the specified servers and firmware information is retrieved from it. If a VMHost object is passed to the VMHost parameter, the Server parameter is not used. |
-VMHost <VMHost[]>
[-BackupConfiguration]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | named |
|
Specifies a destination path where to download the host configuration backup bundle if the BackupConfiguration parameter is set. | required |
|
VMHost[] | named |
|
Specifies the hosts for which you want to retrieve firmware information. | optional |
|
SwitchParameter | named |
|
Indicates that you want to backup the host firmware configuration and download the bundle to the specified DestinationPath. | optional |
|
VIServer[] | named |
|
This parameter is required when you specify the host by name. In this case, the host with the specified name is searched on the specified servers and firmware information is retrieved from it. If a VMHost object is passed to the VMHost parameter, the Server parameter is not used. |
Output
VMware.VimAutomation.ViCore.Types.V1.Host.HostFirmwareBundle
Examples
Example 1
Retrieves the firmware information for the specified host.
Example 2
Backups a server configuration for the virtual machine host stored in the $vmhost variable, and downloads the configuration files into the specified folder.
Related Commands
VMHost
VMHostAccount
VMHostAdvancedConfiguration
VMHostAuthentication
VMHostAvailableTimeZone
VMHostDiagnosticPartition
VMHostDisk
VMHostDiskPartition
VMHostFirewallDefaultPolicy
VMHostFirewallException
VMHostFirmware
VMHostHardware
VMHostHba
VMHostModule
VMHostNetwork
VMHostNetworkAdapter
VMHostNetworkStack
VMHostNtpServer
VMHostPatch
VMHostPciDevice
VMHostProfile
VMHostProfileCompliance
VMHostProfileImageCacheConfiguration
VMHostProfileRequiredInput
VMHostProfileStorageDeviceConfiguration
VMHostProfileUserConfiguration
VMHostProfileVmPortGroupConfiguration
VMHostRoute
VMHostService
VMHostSnmp
VMHostStartPolicy
VMHostStorage