Syntax
Attach-Baseline [-Server <VIServer[]>] [-Entity] <InventoryItem[]> -Baseline <Baseline[]> [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Detach-BaselineDetailed Description
Attaches baselines to the specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp objects.Parameters
Return Type
noneNotes
Examples
-------------- EXAMPLE 1 --------------
Attach-Baseline -Entity $vm -Baseline $baseline
Attaches the baselines in the $baseline variable to the virtual machines objects saved in the $vm variable.
-------------- EXAMPLE 2 --------------
Get-VM -Name VM | Attach-Baseline -Baseline $baseline
Attaches the baselines saved in the $baseline variable to the virtual machine named VM.
-------------- EXAMPLE 3 --------------
Get-Baseline -Name *2009 | Attach-Baseline -Entity $vm
Attaches the baselines with names that end with 2009 to the virtual machine objects saved in the $vm variable.