Syntax
Remove-AdvancedSetting [-AdvancedSetting] <AdvancedSetting[]> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed 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
NoneNotes
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.