Get-PartnerOffer
Gets a specific offer or a list of available offers from Partner Center.
Syntax
Default (Default)
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.
Parameter properties
| Type: | SwitchParameter |
| 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 |
-Category
Category that corresponds to the offers.
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 |
-CountryCode
The country ISO2 code.
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 |
-OfferId
A GUID that corresponds to the offer.
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 |
-Trial
Scope returned offers to only trials.
Parameter properties
| Type: | SwitchParameter |
| 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 |
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.