Set-SCSpfStamp

Associates a stamp with offers, servers, and tenants.

Syntax

Set-SCSpfStamp
   -Stamp <Stamp>
   [-Servers <Server[]>]
   [-Tenants <Tenant[]>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

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-SCSPFServer or Set-SCSPFTenant cmdlets.

Examples

Example 1: Associate a stamp with a tenant

PS C:\>$Stamp = Get-SCSPFStamp -ID db656655-68ff-4a21-bd1d-0a06bdbc762f
PS C:\> $Tenant = Get-SCSPFTenant -Name "Contoso"
PS C:\> Set-SCSPFStamp -Stamp $Stamp -Tenants $Tenant

The first command gets a stamp. The second command gets a tenant.

The third command associates the tenant with the stamp.

Required Parameters

-Stamp

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

Type:Stamp
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Servers

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

Type:Server[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenants

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

Type:Tenant[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False