< Back

Set-PartnerCustomerSubscription

Sat Jan 18, 2020 6:37 pm

NAME Set-PartnerCustomerSubscription



SYNOPSIS

Updates the specified customer subscription.





SYNTAX

Set-PartnerCustomerSubscription [-BillingCycle {Annual | Monthly}] -CustomerId <String> [-FriendlyName <String>]

[-Quantity <Int32>] [-Status {Active | Deleted | Suspended}] -SubscriptionId <String> [-Confirm] [-WhatIf]

[<CommonParameters>]



Set-PartnerCustomerSubscription [-BillingCycle {Annual | Monthly}] [-FriendlyName <String>] -InputObject

<PSCustomer> [-Quantity <Int32>] [-Status {Active | Deleted | Suspended}] -SubscriptionId <String> [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

Updates the specified customer subscription.





PARAMETERS

-BillingCycle <BillingCycleType>

The billing cycle for the subscription.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CustomerId <String>

The customer identifier used to scope the request.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-FriendlyName <String>

The friendly name of the subscription.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <PSCustomer>

The customer object used to scope the request.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Quantity <Int32>

The quantity of the subscription.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Status <SubscriptionStatus>

The status of the subscription.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SubscriptionId <String>

The subscription identifier used to scope the request.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<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

None







OUTPUTS

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







NOTES









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







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... bscription