Set-SCSpfStamp

Associates a stamp with offers, servers, and tenants.

Syntax

Set-SCSpfStamp [-Confirm] [-Servers <Server[]>] -Stamp <Stamp> [-Tenants <Tenant[]>] [-WhatIf]
 [<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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
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[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
Required:True
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[]
Required:False
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False