Get-PartnerProductSKU

Gets the list of SKUs for a product.

Syntax

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

Description

Gets the list of SKUs for a specified product.

Examples

Example 1

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

Gets the available SKUs for the product with the identifier of DZH318Z0BQ5S.

Parameters

-CountryCode

The country ISO2 code.

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

-ProductId

A string that identifies the product.

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

-Segment

A string that the product segment.

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

-SkuId

A string that identifies 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