Share via


Remove-SCSPFStamp

Removes one or more stamps.

Syntax

Empty (Default)

Remove-SCSPFStamp
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

FromStampParameterSetName

Remove-SCSPFStamp
    -Stamp <Stamp[]>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Remove-SCSPFStamp cmdlet removes one or more stamp objects from the Service Provider Foundation database.

Examples

Example 1: Remove a stamp

PS C:\>$ContosoStamp = Get-SCSPFStamp -Name "Contoso"
PS C:\> Remove-SCSPFStamp -Stamp $ContosoStamp

The first command gets the stamp object named Contoso and stores it in the $Stamp variable.

The second command removes the stamp.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Stamp

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

Parameter properties

Type:

Microsoft.SystemCenter.Foundation.SPFData.Types.Stamp[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FromStampParameterSetName
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.SystemCenter.Foundation.SPFData.Types.Stamp

Outputs

System.Object