Set-AdvancedSetting

This cmdlet modifies the specified advanced setting.

Syntax

[-AdvancedSetting]  <AdvancedSetting[]>
-Value  <Object>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AdvancedSetting
AdvancedSetting[] 1
  • pipeline
  • Specifies the advanced setting you want to modify.
    required
    Value
    Object named Specifies a new value for the advanced setting.

    Output

    VMware.VimAutomation.ViCore.Types.V1.AdvancedSetting

    Examples


    Example 1

    Get-AdvancedSetting -Entity (Get-Cluster -Name Cluster) -Name SettingName | Set-AdvancedSetting -Value NewValue

    Changes the value of the advanced setting SettingName of the Cluster cluster.

    Example 2

    Get-AdvancedSetting -Entity Server -Name 'mail.smtp.server' | Set-AdvancedSetting -Value 'test.vmware.com'

    Changes the value of the advanced setting mail.smtp.server of the specified server to test.vmware.com.

    Related Commands

    Feedback

    Was this page helpful?