Remove-EntityBaseline Command | Vmware PowerCLI Reference

Remove-EntityBaseline

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
Baseline Baseline[] named
  • pipeline
Specifies the baselines you want to detach from the specified objects.
required
Entity InventoryItem[] named
  • pipeline
Specifies Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and vApp objects from which you want to detach the baselines.
optional Server VIServer[] named
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.

Output

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.

Related Commands

Entity

This cmdlet remediates an inventory object against the specified baselines.

EntityBaseline

This cmdlet attaches baselines to the specified inventory object.

This cmdlet detaches baselines from the specified inventory objects.

EntityDefaultKeyProvider

This cmdlet adds a key provider to entities as default key provider.

This cmdlet removes the default key provider from the specified entities.