This topic has not yet been rated - Rate this topic

Set-SCSPFOffer

Updated: January 14, 2013

Applies To: System Center 2012 SP1 - Orchestrator

Set-SCSPFOffer

Associates an offer with tenants and stamps.

Syntax

Parameter Set: Default
Set-SCSPFOffer -Offer <Offer> [-Stamps <Stamp[]> ] [-Tenants <Tenant[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-SCSPFOffer cmdlet associates an offer with one or more tenants, and with one or more stamps in Service Provider Foundation. An offer specifies the stamps available to a tenant administrator role. You can associate an offer with multiple tenants, but a specific tenant can be associated with only one offer. However, a stamp can be associated with multiple offers.

If you want to add an association of a stamp to an offer without changing the stamps currently associated with the offer, use the Set-SCSPFStamp cmdlet.

Parameters

-Offer<Offer>

Specifies the offer object to be set to new values by the other parameters in this cmdlet. To obtain an offer, use the Get-SCSPFOffer cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Stamps<Stamp[]>

Specifies one or more stamps to associate with the offer. To obtain a stamp, use the Get-SCSPFStamp cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tenants<Tenant[]>

Specifies one or more tenants to associate with the offer. To obtain a tenant, use the Get-SCSPFTenant cmdlet.

If you set a tenant that already is associated with an offer to a new offer, that tenant will be associated with the new offer.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

1: Set an offer to a tenant and stamp.

The first three commands get an offer, a tenant, and a stamp.

The fourth command associates the tenant and stamp with the offer.


PS C:\> $offr = Get-SCSPFOffer -ID 64cc59ff-ae54-41f8-b6bd-c811361df6aaPS C:\> $tnnt = Get-SCSPFTenant -Name "ADatum"PS C:\> $stmp = Get-SCSPFStamp -Name "Platinum"PS C:\> Set-SCSPFOffer -Offer $offr -Stamps $stmp -Tenants $tnnt

Related topics

 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.