VMware vSphere Update Manager PowerCLI

Detach-Baseline

Synopsis

Detaches baselines from the specified inventory objects.

Syntax

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

Related Commands

Attach-Baseline
Get-Baseline
New-PatchBaseline
Set-PatchBaseline
Remove-Baseline

Detailed Description

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
ServerSpecify 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
EntitySpecify Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and vApp objects from which you want to detach the baselines.truetrue (ByValue)
BaselineSpecify the baselines you want to detach from the specified objects.truetrue (ByValue)
WhatIfIndicate that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falsefalse
ConfirmIndicate that the cmdlet asks for confirmation before running.falsefalse

Return Type

none

Notes

Examples

-------------- EXAMPLE 1 --------------

Get-VM -Name VM | Detach-Baseline -Baseline $baseline

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

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

Detach-Baseline -Entity VM -Baseline $baseline

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


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