Skip to content

Latest commit

 

History

History
211 lines (164 loc) · 4.42 KB

Set-PartnerCustomerSubscription.md

File metadata and controls

211 lines (164 loc) · 4.42 KB
content_git_url external help file Module Name online version original_content_git_url schema
Microsoft.Store.PartnerCenter.PowerShell.dll-Help.xml
PartnerCenter
2.0.0

Set-PartnerCustomerSubscription

SYNOPSIS

Updates the specified customer subscription.

SYNTAX

CustomerObject

Set-PartnerCustomerSubscription -InputObject <PSCustomer> [-BillingCycle <BillingCycleType>]
 [-FriendlyName <String>] [-PartnerId <String>] [-Quantity <Int32>] [-Status <SubscriptionStatus>]
 -SubscriptionId <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Customer

Set-PartnerCustomerSubscription [-BillingCycle <BillingCycleType>] -CustomerId <String>
 [-FriendlyName <String>] [-PartnerId <String>] [-Quantity <Int32>] [-Status <SubscriptionStatus>]
 -SubscriptionId <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Updates the specified customer subscription.

EXAMPLES

Example 1

PS C:\> Set-ParnterCustomerSubscription -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -Subscription dace42ca-22df-4b1f-8f9e-992364dd866e -Quantity 10

Updates the quantity of the subscription to 10 units.

PARAMETERS

-BillingCycle

The billing cycle for the subscription.

Type: BillingCycleType
Parameter Sets: (All)
Aliases:
Accepted values: Annual, Monthly

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CustomerId

The customer identifier used to scope the request.

Type: String
Parameter Sets: Customer
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FriendlyName

The friendly name of the subscription.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

The customer object used to scope the request.

Type: PSCustomer
Parameter Sets: CustomerObject
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PartnerId

The Microsoft Partner Network (MPN) identifier for the reseller of record.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Quantity

The quantity of the subscription.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Status

The status of the subscription.

Type: SubscriptionStatus
Parameter Sets: (All)
Aliases:
Accepted values: Active, Deleted, Suspended

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SubscriptionId

The subscription identifier used to scope the request.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Subscriptions.PSSubscription

NOTES

RELATED LINKS