Get-SCSPFStamp

Get-SCSPFStamp

Gets one or more stamp objects.

Syntax

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>]

Detailed Description

The Get-SCSPFStamp cmdlet gets one or more stamp objects in Service Provider Foundation. To create a stamp, use the New-SCSPFStamp cmdlet.

Parameters

-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.DataCenter

PS C:\> $DS.Name = "DataCenter_NorthAmerica"

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-ID<Guid[]>

Specifies one or more identifiers (as a GUID) for a specific object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String[]>

Specifies the name of one or more stamps.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Offer<Offer>

Specifies an offer for which this cmdlet will return associated stamps. To obtain an offer, use the Get-SCSPFOffer cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Server<Server>

Specifies an server for which this cmdlet will return associated stamps. To obtain a server, use the Get-SCSPFServer cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Tenant<Tenant>

Specifies an tenant for which this cmdlet will return associated stamps. To obtain a tenant, use the Get-SCSPFTenant cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

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: 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

Set-SCSPFStamp

New-SCSPFStamp

Remove-SCSPFStamp