Skip to main content

Unregister-FMCertificate

SYNOPSIS​

Removes a certificate definition for the NTAuthStore.

SYNTAX​

__AllParameterSets​

Unregister-FMCertificate [[-Thumbprint] <string[]>] [[-Certificate] <X509Certificate2[]>]
[<CommonParameters>]

DESCRIPTION​

Removes a certificate definition for the NTAuthStore. See Register-FMCertificate tfor details on defining a certificate.

EXAMPLES​

EXAMPLE 1​

Get-FMCertificate | Unregister-FMCertificate

Clears all certificates from the list of defined NTAuth certificates

PARAMETERS​

-Certificate​

The certificate to remove.

Type: System.Security.Cryptography.X509Certificates.X509Certificate2[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Thumbprint​

The thumbprint of the certificate to remove.

Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.