Remove-SCSpfTrustedIssuer

Removes one or more trusted issuer objects.

Syntax

Remove-SCSpfTrustedIssuer [-Confirm] -Issuer <Issuer[]> [-WhatIf] [<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.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Issuer

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

Type:Issuer[]
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False