Get-PartnerProductSku

Gets the available SKUs for the specified product.

Syntax

ByProductId (Default)

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

BySkuId

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

BySegment

Get-PartnerProductSku
    -ProductId <String>
    -Segment <String>
    [-CountryCode <String>]
    [-ReservationScope <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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProductId

The identifier for the product.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReservationScope

The reservation scope used for filtering.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Segment

The segment used for filtering.

Parameter properties

Type:String
Default value:None
Accepted values:commercial, education, government, nonprofit
Supports wildcards:False
DontShow:False

Parameter sets

BySegment
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SkuId

The identifier for the SKU.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

BySkuId
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

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