Get-ConfigurationSetting

Updated: March 8, 2011

Retrieves the values of service configuration settings for a role.

Syntax

Get-ConfigurationSetting [-Name] <string> [<CommonParameters>]

Description

The Get-ConfigurationSetting cmdlet retrieves the values of service configuration settings for a role instance.

You can use this cmdlet to quickly inspect configuration setting values while connected to a role instance either for debugging and verification purposes or for obtaining values that can be used in a script.

Parameters

-Name <string>

Specifies the name of the configuration setting to retrieve.

 

Required?

true

Position?

1

Default Value

None

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and –OutVariable. For more information, see about_CommonParameters

Example


C:\PS>Get-ConfigurationSetting Microsoft.WindowsAzure.Plugins.Diagnositcs.ConnectionString

DefaultEndpointsProtocol=https;AccountName=AccountName;AccountKey=AccountKey

See Also

Show: