Set-SCSPFStamp

Set-SCSPFStamp

Associates a stamp with offers, servers, and tenants.

構文

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

詳細説明

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.

パラメーター

-Offers<Offer[]>

Specifies one or more offers to associate with the stamp.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Servers<Server[]>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Tenants<Tenant[]>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 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