< Back

Get-VMHostFirmware

Sun Jan 19, 2020 6:55 pm

NAME Get-VMHostFirmware



SYNOPSIS

This cmdlet retrieves hosts firmware information.





SYNTAX

Get-VMHostFirmware [-VMHost] <VMHost[]> [-BackupConfiguration] -DestinationPath <String> [-Server <VIServer[]>]

[<CommonParameters>]





DESCRIPTION

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.





PARAMETERS

-BackupConfiguration [<SwitchParameter>]

Indicates that you want to backup the host firmware configuration and download the bundle to the specified

DestinationPath.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DestinationPath <String>

Specifies a destination path where to download the host configuration backup bundle if the BackupConfiguration

parameter is set.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Server <VIServer[]>

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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-VMHost <VMHost[]>

Specifies the hosts for which you want to retrieve firmware information.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more HostFirmware or HostFirmwareBundle objects







NOTES





This functionality applies to ESXi Embedded only.



-------------------------- Example 1 --------------------------



Get-VMHostFirmware -VMHost $vmhost



Retrieves the firmware information for the specified host.

-------------------------- Example 2 --------------------------



Get-VMHostFirmware -VMHost $vmhost -BackupConfiguration -DestinationPath C:\\Downloads



Backups a server configuration for the virtual machine host stored in the $vmhost variable, and downloads the

configuration files into the specified folder.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... mware.html

Set-VMHostFirmware