Get-PartnerOffer

Gets a specific offer or a list of available offers from Partner Center.

Syntax

Get-PartnerOffer
   [-AddOn]
   [-Category <String>]
   [-CountryCode <String>]
   [-OfferId <String>]
   [-Trial]
   [<CommonParameters>]

Description

The Get-PartnerOffer cmdlet with retrieve a specific offer or a list of offers by market from Partner Center.

Examples

Example 1

PS C:\> Get-PartnerOffer -Country US

Gets a list of available offers for the US market.

Example 2

PS C:\> Get-PartnerOffer -Country US -Category SmallBusiness_Key

Gets a list of offers that matches the corresponding category for the US market.

Example 3

PS C:\> Get-PartnerOffer -Country US -OfferId '031C9E47-4802-4248-838E-778FB1D2CC05'

Gets the offer that matches the corresponding identifier for the US market.

Parameters

-AddOn

Scope returned offers to only add-ons.

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

-Category

Category that corresponds to the offers.

Type:String
Position:Named
Default value:None
Required:False
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

-OfferId

A GUID that corresponds to the offer.

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

-Trial

Scope returned offers to only trials.

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

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Offers.PSOffer