< Back

Get-AdvancedSetting

Sun Jan 19, 2020 6:48 pm

NAME Get-AdvancedSetting



SYNOPSIS

This cmdlet retrieves the advanced settings for the specified entity.





SYNTAX

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





DESCRIPTION

This cmdlet retrieves the advanced settings for the specified entity.





PARAMETERS

-Entity <VIObject[]>

Specifies the entities for which you want to retrieve the advanced settings. This parameter accepts VIServer,

VirtualMachine, VMHost, DatastoreCluster, and Cluster objects.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-Name <String[]>

Specifies the names of the advanced settings you want to retrieve.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more AdvancedSetting objects







NOTES









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

Online Version: https://code.vmware.com/doc/preview?id= ... tting.html

New-AdvancedSetting

Remove-AdvancedSetting

Set-AdvancedSetting