## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
AdvancedSetting | AdvancedSetting[] | 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. | true | true (ByValue)
Confirm | SwitchParameter | If 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. | false | false
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false

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.