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.
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 |
-Issuer
Specifies one or more trusted issuer objects. To obtain a trusted issuer object, use the Get-SCSPFTrustedIssuer cmdlet.
Type: | Microsoft.SystemCenter.Foundation.SPFData.Types.Issuer[] |
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.Issuer[]
Outputs
System.Object