Share via


Get-PartnerProductAvailability

Gets the availability for a specified product.

Syntax

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

Description

Gets the availability for a specified product.

Examples

Example 1

PS C:\> Get-PartnerProductAvailability -Product DZH318Z0BQ3Q -SkuId 0001

Gets the availability for a specified product.

Parameters

-AvailabilityId

A string that identifies the availability.

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

-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 identifies 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 product 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.PSProductAvailability