Get-SCSPFStamp
Gets one or more stamp objects.
Get-SCSpfStamp []
Get-SCSPFStamp
-ID <Guid[]>
-Server <Server>
[<CommonParameters>]
Get-SCSPFStamp
-ID <Guid[]>
[<CommonParameters>]
Get-SCSPFStamp
-ID <Guid[]>
-Tenant <Tenant>
[<CommonParameters>]
Get-SCSPFStamp
-Name <String[]>
-Tenant <Tenant>
[<CommonParameters>]
Get-SCSPFStamp
-Name <String[]>
[<CommonParameters>]
Get-SCSPFStamp
-Name <String[]>
-Server <Server>
[<CommonParameters>]
Get-SCSPFStamp
-Tenant <Tenant>
[<CommonParameters>]
Get-SCSPFStamp
-Server <Server>
[<CommonParameters>]
Get-SCSPFStamp
-DataCenter <DataCenter>
[<CommonParameters>]
The Get-SCSPFStamp cmdlet gets one or more stamp objects from the Service Provider Foundation service. To create a stamp, use the New-SCSPFStamp cmdlet.
PS C:\>Get-SCSPFStamp
This command lists all stamps.
PS C:\>$Stamp = Get-SCSPFStamp -ID db656655-68ff-4a21-bd1d-0a06bdbc762f
This command gets a stamp by its ID.
PS C:\>$Stamp = Get-SCSPFStamp -Name "Contoso"
This command gets a stamp by its name.
PS C:\>$Offer = Get-SCSPFOffer -Name "Contoso"
PS C:\> $Stamp = Get-SCSPFStamp -Offer $Offer
The first command gets an offer. The second command gets the stamps associated with the offer.
PS C:\>$Server = Get-SCSPFServer -Name "ContosoServer07"
PS C:\> $Stamp = Get-SCSPFStamp -Server $Server
The first command gets a server. The second command gets the stamp that is associated with the server.
PS C:\>$Contoso = Get-SCSPFTenant -Name "Contoso"
PS C:\> $Stamps = Get-SCSPFStamp -Tenant $Contoso
The first command gets a tenant. The second command gets the stamps associated with the tenant.
PS C:\>$DataCenter = New-Object Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter
PS C:\> $DataCenter.Name = "DataCenter_Contoso"
PS C:\> $Stamps = Get-SCSPFStamp -DataCenter $DataCenter
The first command obtains a DataCenter object by using the New-Object cmdlet with Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter specified for the $TypeName parameter.
The second command sets the Name property of the data center object to the name of your data center.
The third command gets the stamps.
Specifies the name of a DataCenter object.
Type: | DataCenter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies one or more GUIDs for a specific object.
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of one or more stamps.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a server for which this cmdlet returns associated stamps. To obtain a server, use the Get-SCSPFServer cmdlet.
Type: | Server |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a tenant for which this cmdlet returns associated stamps. To obtain a tenant, use the Get-SCSPFTenant cmdlet.
Type: | Tenant |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |