vSphere PowerCLI Reference

Remove-AdvancedSetting

Synopsis

Removes the specified advanced setting.

Syntax

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

Related Commands

Online version
Get-AdvancedSetting
New-AdvancedSetting
Set-AdvancedSetting

Detailed Description

Removes the specified advanced setting.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AdvancedSettingAdvancedSetting[]Specify the advanced settings you want to remove.truetrue (ByValue)
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falsefalse
WhatIfSwitchParameterIndicate that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falsefalse

Return Type

none

Notes

Examples

-------------- Example 1 --------------

Get-AdvancedSetting -Entity (Get-Cluster -Name Cluster) | Remove-AdvancedSetting -Confirm:$false

Removes the advanced settings of the cluster named Cluster.


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