Remove-SCSPFStamp

Removes one or more stamps.

Syntax

Remove-SCSPFStamp
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
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.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Stamp

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

Type:Microsoft.SystemCenter.Foundation.SPFData.Types.Stamp[]
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

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

Outputs

System.Object