PowerCLI Reference

Remove-EntityBaseline

Synopsis

This cmdlet detaches baselines from the specified inventory objects.

Syntax

Remove-EntityBaseline [-Server <VIServer[]>] [-Entity] <InventoryItem[]> -Baseline <Baseline[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Online version
Add-EntityBaseline
Get-Baseline
New-PatchBaseline
Remove-Baseline
Set-PatchBaseline

Detailed Description

This cmdlet detaches baselines from the specified inventory objects. To detach inherited baselines, you must detach them from the parent inventory object.

Parameters

NameDescriptionRequired?Pipeline InputDefault Value
ServerSpecifies 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.falsefalse
EntitySpecifies Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and vApp objects from which you want to detach the baselines.truetrue (ByValue)
BaselineSpecifies the baselines you want to detach from the specified objects.truetrue (ByValue)
WhatIfIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falsefalse
ConfirmIndicates that the cmdlet asks for confirmation before running.falsefalse

Return Type

None

Notes

Examples

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

Get-VM -Name VM | Remove-EntityBaseline -Baseline $baseline

Detaches the baselines in the $baseline variable from the VM virtual machine.

-------------- Example 2 --------------

Remove-EntityBaseline -Entity VM -Baseline $baseline

Detaches the baselines in the $baseline variable from the VM virtual machine.


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