Syntax
Add-EntityBaseline [-Server <VIServer[]>] [-Entity] <InventoryItem[]> -Baseline <Baseline[]> [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet attaches baselines to the specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp objects.Parameters
Return Type
NoneNotes
Examples
-------------- Example 1 --------------
Add-EntityBaseline -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 | Add-EntityBaseline -Baseline $baseline
Attaches the baselines saved in the $baseline variable to the virtual machine named VM.
-------------- Example 3 --------------
Get-Baseline -Name *2009 | Add-EntityBaseline -Entity $vm
Attaches the baselines with names that end with 2009 to the virtual machine objects saved in the $vm variable.