Get-SCSPFStamp
Get-SCSPFStamp
Gets one or more stamp objects.
構文
Parameter Set: FromStampDataCenterParameterSetName
Get-SCSPFStamp -DataCenter <DataCenter> [ <CommonParameters>]
Parameter Set: FromStampIdAndServerParameterSetName
Get-SCSPFStamp -ID <Guid[]> -Server <Server> [ <CommonParameters>]
Parameter Set: FromStampIdAndTenantParameterSetName
Get-SCSPFStamp -ID <Guid[]> -Tenant <Tenant> [ <CommonParameters>]
Parameter Set: FromStampIdParameterSetName
Get-SCSPFStamp -ID <Guid[]> [ <CommonParameters>]
Parameter Set: FromStampNameAndServerParameterSetName
Get-SCSPFStamp -Name <String[]> -Server <Server> [ <CommonParameters>]
Parameter Set: FromStampNameAndTenantParameterSetName
Get-SCSPFStamp -Name <String[]> -Tenant <Tenant> [ <CommonParameters>]
Parameter Set: FromStampNameParameterSetName
Get-SCSPFStamp -Name <String[]> [ <CommonParameters>]
Parameter Set: FromStampOfferParameterSetName
Get-SCSPFStamp -Offer <Offer> [ <CommonParameters>]
Parameter Set: FromStampServerParameterSetName
Get-SCSPFStamp -Server <Server> [ <CommonParameters>]
Parameter Set: FromStampTenantParameterSetName
Get-SCSPFStamp -Tenant <Tenant> [ <CommonParameters>]
詳細説明
The Get-SCSPFStamp cmdlet gets one or more stamp objects in Service Provider Foundation. To create a stamp, use the New-SCSPFStamp cmdlet.
パラメーター
-DataCenter<DataCenter>
Specifies the name of a DataCenter object. To obtain a DataCenter object, use the New-Object cmdlet with Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter specified for its TypeName parameter. Then set its Name property to the name of the your data center, as shown in the following example.
PS C:\> $DS = New-Object Microsoft.SystemCenter.Foundation.SPFData.Types.DataCen
ter
PS C:\> $DS.Name = "DataCenter_NorthAmerica"
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-ID<Guid[]>
Specifies one or more identifiers (as a GUID) for a specific object.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Name<String[]>
Specifies the name of one or more stamps.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Offer<Offer>
Specifies an offer for which this cmdlet will return associated stamps. To obtain an offer, use the Get-SCSPFOffer cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-Server<Server>
Specifies an server for which this cmdlet will return associated stamps. To obtain a server, use the Get-SCSPFServer cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-Tenant<Tenant>
Specifies an tenant for which this cmdlet will return associated stamps. To obtain a tenant, use the Get-SCSPFTenant cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
1: Get all stamps.
This command lists all stamps.
PS C:\> Get-SCSPFStamp
2. : Get a stamp by its ID.:
This command gets a stamp by its ID.
PS C:\> $stmp = Get-SCSPFStamp -ID db656655-68ff-4a21-bd1d-0a06bdbc762f
3. : Get a stamp by its name.:
This command gets a stamp by its name.
PS C:\> $stmp = Get-SCSPFStamp –Name "Ultimate"
4: Get the stamps that are associated with an offer.
The first command gets an offer. The second command gets the stamps associated with the offer.
PS C:\> $offr = Get-SCSPFOffer -Name "Beginner"
PS C:\> $stmp = Get-SCSPFStamp -Offer $offr
5: Get the stamp that is associated with a server.
The first command gets a server.
The second command gets the stamp that is associated with the server.
PS C:\> $srvr = Get-SCSPFServer -Name "serverVids7"
PS C:\> $stmps = Get-SCSPFStamp -Server $srvr
6: Get the stamps that are associated with a tenant.
The first command gets a tenant.
The second command gets the stamps associated with the tenant.
PS C:\> $Contoso = Get-SCSPFTenant -Name "Contoso"
PS C:\> $stmps = Get-SCSPFStamp -Tenant $Contoso