< Back

Get-PartnerOffer

Sat Jan 18, 2020 6:32 pm

NAME 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.





PARAMETERS

-AddOn [<SwitchParameter>]

Scope returned offers to only add-ons.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Category <String>

Category that corresponds to the offers.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CountryCode <String>

The country ISO2 code.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-OfferId <String>

A GUID that corresponds to the offer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Trial [<SwitchParameter>]

Scope returned offers to only trials.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

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







NOTES









-------------------------- 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.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... rtnerOffer