Get-PartnerProduct

Gets a list or a single product.

Syntax

Get-PartnerProduct
   [-CountryCode <String>]
   -Catalog <String>
   [-Segment <String>]
   [<CommonParameters>]
Get-PartnerProduct
   [-CountryCode <String>]
   -ProductId <String>
   [<CommonParameters>]

Description

Gets a list or a single product.

Examples

Example 1

PS C:\> Get-PartnerProduct -Catalog 'Azure' -Segment 'commercial'

Gets a list of products scoped to the Azure target view and commercial segment.

Parameters

-Catalog

A string that the product catalog.

Type:String
Accepted values:Azure, AzureReservations, AzureReservationsVM, AzureReservationsSQL, AzureReservationsCosmosDb, OnlineServices, Software, SoftwareSUSELinux, SoftwarePerpetual, SoftwareSubscriptions
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 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

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Products.PSProduct