Remove-QADCertificateRevocationList

From PowerGUI Wiki

Jump to: navigation, search

Remove certificate revocation lists from a local certificate store.

This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view information about ActiveRoles Server.

Contents

Syntax

Remove-QADCertificateRevocationList [-Store] <X509CertificateStoreUI> [[-CRL] <CertificateRevocationListUI[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

Use this cmdlet to remove the certificate revocation list (CRL) represented by a given CRL object from a local certificate store. The cmdlet takes an output object of the Get-QADCertificateRevocationList or Import-QADCertificateRevocationList cmdlet, and updates the specified certificate store to remove the certificate revocation list represented by that object.



Parameters

Name Description Required? Pipeline Input Default Value
CRL Use this parameter to specify the CRL objects representing the certificate revocation lists to remove. This could be output objects of the Import-QADCertificateRevocationList cmdlet. If this parameter is omitted, the cmdlet removes all certificate revocation lists from the certificate store specified by the Store parameter (see examples). false true (ByValue)
Store Parameter value is an object that identifies the certificate store from which to remove certificate revocation lists. Normally, this is an output object of the Get-QADLocalCertificateStore cmdlet (see examples). true true (ByValue)
Confirm Prompts you for confirmation before executing the command. false false
WhatIf Describes what would happen if you executed the command without actually executing the command. false false

Examples

EXAMPLE 1

$crl = dir c:\crl |	
 Import-QADCertificateRevocationList

C:\PS>Get-QADLocalCertificateStore MyStore |	
 Remove-QADCertificateRevocationList -CRL $crl

Description


Import the certificate revocation lists from the files located in a certain folder to a particular local certificate store.

The first command populates the $crl variable with the objects representing the certificate revocation lists found in the files that are located in the specified folder (c:\crl). In the second command, Get-QADLocalCertificateStore MyStore retrieves the certificate store and passes the output object to Remove-QADCertificateRevocationList whose CRL parameter takes the $crl variable, thereby causing the certificate revocation lists found in the $crl variable to be removed from the certificate store identified by the output object of Get-QADLocalCertificateStore MyStore.

EXAMPLE 2

Get-QADLocalCertificateStore MyStore |	
 Remove-QADCertificateRevocationList

Description


Remove all certificate revocation lists held in the specified local certificate store.

Personal tools