powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostFirmware



NAME
Get-VMHostFirmware

SYNOPSIS
Retrieves hosts firmware information.

SYNTAX
Get-VMHostFirmware [-VMHost] [-Server ] []

Get-VMHostFirmware [-VMHost] [-BackupConfiguration] -DestinationPath [-Server ] [ ommonParameters>]


DESCRIPTION
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" permiss
ion to the ESX.


PARAMETERS
-VMHost
Specify the hosts for which you want to retrieve firmware information.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Server
The -Server parameter is needed when the host is specified by name. In this case, the host with the specified n
ame is searched on the specified servers and firmware information is retrieved from it. If a VMHost object is p
assed to the VMHost parameter, the -Server parameter is not used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-BackupConfiguration
Indicate that you want to backup the host firmware configuration and download the bundle to the specified Desti
nationPath.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-DestinationPath
Specify a destination path where to download the host configuration backup bundle if the BackupConfiguration pa
rameter is set.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
HostFirmware


NOTES


This functionality applies to ESXi Embedded only.

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

C:\PS>Get-VMHostFirmware -VMHost $host


Retrieves the firmware information for the specified host.





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

C:\PS>Get-VMHostFirmware -VMHost $host -BackupConfiguration -DestinationPath C:\Downloads


Backups a server configuration for the virtual machine host stored in the $host variable, and downloads the configu
ration files into the specified folder.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostFirmware.html
Set-VMHostFirmware