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

NameDescriptionRequired?Pipeline InputDefault Value
BaselineSpecifies the baselines you want to remove.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-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.