Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzureServiceExtension

Set-AzureServiceExtension

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

This cmdlet adds a cloud service extension to a deployment.

Syntax

Set-AzureServiceExtension [-ServiceName] [-Slot] [-Role] [-X509Certificate] [-ThumbprintAlgorithm] [-ExtensionName] [-ProviderNamespace] [-PublicConfiguration] [-PrivateConfiguration] [-Version] [<CommonParameters>]

Set-AzureServiceExtension [-ServiceName] [-Slot] [-Role] [-CertificateThumbprint] [-ThumbprintAlgorithm] [-ExtensionName] [-ProviderNamespace] [-PublicConfiguration] [-PrivateConfiguration] [-Version] [<CommonParameters>]

Detailed Description

This cmdlet adds a cloud service extension to a deployment.

Parameters

-ServiceName <String>

Specifies the Microsoft Azure service name of the deployment.

Aliases

None

Required?

false

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <String>

Specifies the environment of the deployment to modify. Supported values are "Production" or "Staging".

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Role <String[]>

An optional array of roles to specify the remote desktop configuration for. If not specified the remote desktop configuration is applied as the default configuration for all roles.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-X509Certificate <X509Certificate2>

An x509 certificate that when specified will be automatically uploaded to the cloud service and used for encrypting the extension private configuration.

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ThumbprintAlgorithm <String>

Thumbprint hashing algorithm which is used with the thumbprint to identify the certificate. This parameter is optional and the default is sha1.

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ExtensionName <String>

Aliases

None

Required?

true

Position

5

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ProviderNamespace <String>

The Extension's Provider Namespace.

Aliases

None

Required?

true

Position

6

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PublicConfiguration <String>

The public configuration text.

Aliases

None

Required?

true

Position

7

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PrivateConfiguration <String>

The private configuration text.

Aliases

None

Required?

true

Position

8

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Version <String>

The Extension Version.

Aliases

None

Required?

true

Position

9

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-CertificateThumbprint <String>

A certificate thumbprint to use for encrypting the private configuration. If not specified a certificate will be created for you. This certificate has to already exist in the certificate store.

Aliases

None

Required?

true

Position

3

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> Set-AzureServiceExtension -Service $svc -Slot Production -ExtensionName 'RDP' -Version '1.0' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2;

-------------------------- EXAMPLE 2 --------------------------

Description

PS C:\> Set-AzureServiceExtension -Service $svc -Slot Production -Role WebRole1 -ExtensionName 'RDP' -ProviderNamespace Microsoft.Windows.Azure.Extensions -PublicConfiguration $p1 -PrivateConfiguration $p2;

Unknown