## 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

Name | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | ---
Server | Specifies 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. | false | false |
Entity | Specifies Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and vApp objects from which you want to detach the baselines. | true | true (ByValue) |
Baseline | Specifies the baselines you want to detach from the specified objects. | true | true (ByValue) |
WhatIf | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false |
Confirm | Indicates that the cmdlet asks for confirmation before running. | false | false |

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.