< Back

Get-PartnerCustomerSubscription

Sat Jan 18, 2020 6:29 pm

NAME Get-PartnerCustomerSubscription



SYNOPSIS

Gets a list or a single customer subscription.





SYNTAX

Get-PartnerCustomerSubscription -CustomerId <String> [-MpnId <String>] [-OrderId <String>] [-SubscriptionId

<String>] [<CommonParameters>]



Get-PartnerCustomerSubscription -CustomerId <String> -OrderId <String> [<CommonParameters>]



Get-PartnerCustomerSubscription -CustomerId <String> -MpnId <String> [<CommonParameters>]



Get-PartnerCustomerSubscription -InputObject <PSCustomer> [-MpnId <String>] [-OrderId <String>] [-SubscriptionId

<String>] [<CommonParameters>]





DESCRIPTION

Gets a list or a single customer subscription.





PARAMETERS

-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



-InputObject <PSCustomer>

The customer object used to scope the request.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-MpnId <String>

The Microsoft Parnter Network identifier that identifies the partner.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-OrderId <String>

The identifier corresponding to the order.



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? false

Position? named

Default value None

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

Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer







OUTPUTS

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







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-PartnerCustomerSubscription -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08



Gets a list of subscriptions for the specified customer.





-------------------------- Example 2 --------------------------



PS C:\\> Get-PartnerCustomerSubscription -CustomerId 46a62ece-10ad-42e5-b3f1-b2ed53e6fc08 -SubscriptionId

a2138cdf-769e-45d3-b957-ae9864b82bf6



Gets the specified customer subscription.







RELATED LINKS

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