Syntax
Get-Baseline [-TargetType <BaselineTargetType[]>] [-BaselineType <BaselineType[]>] [-BaselineContentType <BaselineContentType[]>] [-Server <VIServer[]>] [[-Name] <String[]>] [-Id <Int32[]>] [-Entity <InventoryItem[]>] [-Inherit] [-Recurse] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the baselines specified by the provided cmdlet parameters. There are two default dynamic patch baselines (Critical Host Patches (Predefined), and Non-Critical Host Patches(Predefined)) and three upgrade baselines (VMware Tools Upgrade to Match Host(Predefined), VM Hardware Upgrade to Match Host (Predefined),and VA Upgrade to Latest (Predefined)). You cannot edit or delete default baselines.Parameters
Return Type
VMware.VumAutomation.Types.Baseline[]Notes
Examples
-------------- Example 1 --------------
Get-Baseline -Name *critical*
Retrieves all baselines that contain "critical" in their names.
-------------- Example 2 --------------
Get-Baseline -TargetType Host -BaselineType Upgrade
Retrieves the available host upgrade baselines on the default server.
-------------- Example 3 --------------
Get-Baseline -Entity VM -Inherit
Retrieves the baselines that are attached directly to the VM virtual machine or are inherited by its parent objects.
-------------- Example 4 --------------
Get-Baseline -TargetType VM -BaselineType Upgrade
Retrieves the default baselines (VMware Tools Upgrade to Match Host and VM Hardware Upgrade to Match Host).