Skip to content

Latest commit

 

History

History
139 lines (103 loc) · 2.89 KB

Get-PartnerOffer.md

File metadata and controls

139 lines (103 loc) · 2.89 KB
content_git_url external help file Module Name online version original_content_git_url schema
Microsoft.Store.PartnerCenter.PowerShell.dll-Help.xml
PartnerCenter
2.0.0

Get-PartnerOffer

SYNOPSIS

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
Parameter Sets: (All)
Aliases:

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

-Category

Category that corresponds to the offers.

Type: String
Parameter Sets: (All)
Aliases:

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

-CountryCode

The country ISO2 code.

Type: String
Parameter Sets: (All)
Aliases:

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

-OfferId

A GUID that corresponds to the offer.

Type: String
Parameter Sets: (All)
Aliases:

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

-Trial

Scope returned offers to only trials.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

CommonParameters

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

INPUTS

None

OUTPUTS

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

NOTES

RELATED LINKS