Syntax
Get-PatchBaseline [[-TargetType] <BaselineTargetType>] [-Patch <Patch>] [-BaselineContentType <BaselineContentType[]>] [-Extension] [[-Name] <String[]>] [-Id <Int32[]>] [<CommonParameters>]Related Commands
New-PatchBaselineDetailed Description
Retrieves all patch baselines or those specified by the provided cmdlet parameters.Parameters
Return Type
VMware.VumAutomation.Types.PatchBaseline[]Notes
Examples
-------------- Example 1 --------------
Get-VM -Name VMHost | Get-PatchBaseline
Retrieves all patch baselines assigned to the VMHost host.
-------------- Example 2 --------------
Get-PatchBaseline -Entity VMHost -Inherit -Recurse
Retrieves all patch baselines assigned to the VMHost host and its parent inventory object.
-------------- Example 3 --------------
$patch = Get-Patch -Id 1 Get-PatchBaseline -Patch $patch
Retrieves the patch baselines that contain the patch with ID 1.
-------------- Example 4 --------------
Get-PatchBaseline -Id 1,2,3
Retrieves the patch baselines with IDs 1, 2, and 3.