PowerCLI Reference

Remove-AdvancedSetting

Synopsis

This cmdlet 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

This cmdlet removes the specified advanced setting.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AdvancedSettingAdvancedSetting[]Specifies the advanced settings you want to remove.

Note: You can only remove advanced settings from virtual machines in ESXi or vCenter Server environments version 5.5 or later.
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
WhatIfSwitchParameterIndicates 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

This cmdlet is not applicable for VMHost entities.

Examples

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

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

Removes the advanced settings of the cluster named Cluster.


Copyright © VMware, Inc. All rights reserved.