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

Set-AzureStoreAddOn

microsoft.windowsazure.commands.dll

Synopsis

Updates an existing add-on instance from current subscription

Syntax

Set-AzureStoreAddOn [-Name] [-Plan] [-PromotionCode] [-PassThru] [<CommonParameters>]

Detailed Description

Updates an existing add-on instance from current subscription

Parameters

-Name <>

The name of the add-on instance

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Plan <>

The plan id

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PromotionCode <>

The promotion code

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PassThru <>

If specified, the cmdlet return true is succeed and false in failure.

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Update MyAddOn add-on instance --------------

C:\PS>

Updated MyAddOn with plan NewPlanId

Set-AzureStoreAddOn MyAddOn NewPlanId 

-------------- Update an add-on instance with promotion code--------------

C:\PS>

Updates MyAddOn with plan NewPlanId and promotion code MyPromoCode

Set-AzureStoreAddOn MyAddOn NewPlanId MyPromoCode