Get-PartnerProduct

Gets information for the available products.

Syntax

ByTargetView (Default)

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

ByProductId

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

ByReservationScope

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

Description

Gets information for the available products.

Examples

Example 1

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

Gets information for the available products.

Parameters

-Catalog

The catalog used for filtering the product.

Parameter properties

Type:String
Default value:None
Accepted values:Azure, AzureReservations, AzureReservationsVM, AzureReservationsSQL, AzureReservationsCosmosDb, OnlineServices, Software, SoftwareSUSELinux, SoftwarePerpetual, SoftwareSubscriptions
Supports wildcards:False
DontShow:False

Parameter sets

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

-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

ByProductId
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ByReservationScope
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

ByReservationScope
Position:Named
Mandatory:True
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

ByTargetView
Position:Named
Mandatory:False
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.PSProduct