Get-PartnerCustomerSubscription

Gets a list or a single customer subscription.

Syntax

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

Description

Gets a list or a single customer subscription.

Examples

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.

Parameters

-CustomerId

The customer identifier used to scope the request.

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

-InputObject

The customer object used to scope the request.

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

-MpnId

The Microsoft Parnter Network identifier that identifies the partner.

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

-OrderId

The identifier corresponding to the order.

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

-SubscriptionId

The subscription identifier used to scope the request.

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

Inputs

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

Outputs

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