vSphere PowerCLI Reference

Get-AdvancedSetting

Synopsis

Retrieves the advanced settings of the specified entity.

Syntax

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

Related Commands

Online version
New-AdvancedSetting
Remove-AdvancedSetting
Set-AdvancedSetting

Detailed Description

Retrieves the advanced settings of the specified entity.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the names of the advanced settings you want to retrieve.falsefalse
EntityVIObject[]Specify the entities for which you want to retrieve the advanced settings. This parameter accepts VIServer, VirtualMachine, VMHost, DatastoreCluster, and Cluster objects.truetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

AdvancedSetting

Notes

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.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.