Remove-SCSpfTrustedIssuer

Removes one or more trusted issuer objects.

Syntax

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.

Required Parameters

-Issuer

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

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

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

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