Get-PartnerProductSku

Gets the available SKUs for the specified product.

Syntax

Get-PartnerProductSku
   [-CountryCode <String>]
   -ProductId <String>
   [-ReservationScope <String>]
   [<CommonParameters>]
Get-PartnerProductSku
   [-CountryCode <String>]
   -ProductId <String>
   [-ReservationScope <String>]
   -SkuId <String>
   [<CommonParameters>]
Get-PartnerProductSku
   [-CountryCode <String>]
   -ProductId <String>
   [-ReservationScope <String>]
   -Segment <String>
   [<CommonParameters>]

Description

Gets the available SKUs for the specified product.

Examples

Example 1

PS C:\> Get-PartnerProductSku -ProductId 'DZH318Z0BQ5S'

Gets the available SKUs for the specified product.

Parameters

-CountryCode

The country on which to base the product.

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

-ProductId

The identifier for the product.

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

-ReservationScope

The reservation scope used for filtering.

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

-Segment

The segment used for filtering.

Type:String
Accepted values:commercial, education, government, nonprofit
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SkuId

The identifier for the SKU.

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

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Products.PSSku