## PowerCLI Reference

# Remove-Baseline

## Synopsis

This cmdlet removes baselines.

Syntax

Remove-Baseline [-Baseline] <Baseline[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Online version
Add-EntityBaseline
Get-Baseline
Remove-EntityBaseline

Detailed Description

This cmdlet deletes the specified baselines from their servers. Before the removal, the baselines are detached from all entities they have been attached to.

Parameters

Name | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | ---
Baseline | Specifies the baselines you want to remove. | 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-Baseline -Name *2008* | Remove-Baseline

Removes all baselines that contain 2008 in their names.

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

    Remove-Baseline -Baseline $baseline

Removes all baselines stored in the $baseline variable.

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