Set-SCSPFStamp

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 running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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-0a06bdbc762f
PS C:\> $tnnt = Get-SCSPFTenant -Name "AdventureWorks"
PS C:\> Set-SCSPFStamp -Stamp $stamp -Tenants $tnnt

Get-SCSPFStamp

New-SCSPFStamp

Remove-SCSPFStamp