Export (0) Print
Expand All

Set-SCSPFStamp

Updated: November 1, 2013

Applies To: System Center 2012 R2 Orchestrator

Set-SCSPFStamp

Associates a stamp with offers, servers, and tenants.

Syntax

Parameter Set: Default
Set-SCSPFStamp -Stamp <Stamp> [-Offers <Offer[]> ] [-Servers <Server[]> ] [-Tenants <Tenant[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-SCSPFStamp cmdlet associates a stamp with one or more servers, one or more tenants, and one or more offers in Service Provider Foundation.

If you want to add an offer, server, or tenant to a stamp without changing the currently associated objects, use the Set-SCSPFOffer, Set-SCSPFServer, or Set-SCSPFTenant cmdlets.

Parameters

-Offers<Offer[]>

Specifies one or more offers to associate with the stamp.To obtain an offer, use the Get-SCSPFOffer cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Servers<Server[]>

Specifies one or more servers to associate with the stamp.To obtain a server, use the Get-SCSPFServer cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Stamp<Stamp>

Specifies the stamp object to be set to new values by the other parameters in this cmdlet. To obtain a stamp, use the Get-SCSPFStamp cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tenants<Tenant[]>

Specifies the name of one or more tenant objects. To obtain a tenant, use the Get-SCSPFTenant cmdlet.


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 a stamp to a tenant.

The first two commands get a stamp and a tenant.

The third command associates the tenant with the stamp.


PS C:\> $stamp = Get-SCSPFStamp -ID db656655-68ff-4a21-bd1d-0a06bdbc762fPS C:\> $tnnt = Get-SCSPFTenant -Name "AdventureWorks"PS C:\> Set-SCSPFStamp -Stamp $stamp -Tenants $tnnt

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft