vSphere PowerCLI Reference

Get-VMHostPatch

Synopsis

Retrieves information of the host patches installed on the specified hosts.

Syntax

Get-VMHostPatch [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Install-VMHostPatch

Detailed Description

Retrieves information of the host patches installed on the specified hosts.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMHostVMHost[]Specify the hosts for which you want to retrieve the available patches.falsetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

VMHostPatch[]

Notes

Examples

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

Get-VMHostPatch Host

Retrieves information of the host patches installed on the specified host.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.