Share via


Remove-SCSPFTrustedIssuer

Removes one or more trusted issuer objects.

Syntax

Default (Default)

Remove-SCSPFTrustedIssuer
    -Issuer <Issuer[]>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Remove-SCSPFTrustedIssuer cmdlet removes one or more trusted issuers from the Service Provider Foundation database.

Examples

Example 1: Remove a trusted issuer

PS C:\>$TrustedIssuer = Get-SCSPFTrustedIssuer -ID "938d2412-ba64-497e-b97d-12991087d66c"
PS C:\> Remove-SCSPFTrustedIssuer -Issuer $TrustedIssuer

The first command gets the trusted issuer object by its ID and stores the object in the $TrustedIssuer variable.

The second command removes the trusted issuer.

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

-Issuer

Specifies one or more trusted issuer objects. To obtain a trusted issuer object, use the Get-SCSPFTrustedIssuer cmdlet.

Parameter properties

Type:

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

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
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.Issuer

Outputs

System.Object