Get-AdvancedSetting Command | Vmware PowerCLI Reference

Get-AdvancedSetting

This cmdlet retrieves the advanced settings for the specified entity.

Syntax

Get-AdvancedSetting
[ -Entity ] < VIObject[] >
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Entity VIObject[] 1
  • pipeline
  • wildcards
Specifies the entities for which you want to retrieve the advanced settings. This parameter accepts VIServer, VirtualMachine, VMHost, DatastoreCluster, and Cluster objects.
optional Name String[] named
  • wildcards
Specifies the names of the advanced settings you want to retrieve.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

Output

VMware.VimAutomation.ViCore.Types.V1.AdvancedSetting

Examples

Example 1

Get-AdvancedSetting -Entity (Get-Cluster -Name Cluster)

Retrieves the advanced settings of the cluster named Cluster.

Example 2

Get-AdvancedSetting -Entity (Get-Cluster -Name Cluster) -Name SettingName

Retrieves the advanced setting named SettingName of the Cluster cluster.

Example 3

Get-AdvancedSetting -Entity Server -Name '*smtp*'

Retrieve all smtp settings for the specified server.

Related Commands

AdvancedSetting

This cmdlet retrieves the advanced settings for the specified entity.

This cmdlet creates a new advanced setting for the specified entity.

This cmdlet removes the specified advanced setting.

This cmdlet modifies the specified advanced setting.