Add-QADCertificateRevocationList

From PowerGUI Wiki

Jump to: navigation, search

Add certificate revocation lists to 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

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

Detailed Description

Use this cmdlet to add the certificate revocation list (CRL) represented by a given CRL object to a local certificate store. The cmdlet takes an output object of the Get-QADCertificateRevocationList or Import-QADCertificateRevocationList cmdlet, and updates the specified certificate store with 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 add. This could be output objects of the Import-QADCertificateRevocationList cmdlet (see examples). true true (ByValue)
Store Parameter value is an object that identifies the certificate store to which to add 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 |	
 Add-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 Add-QADCertificateRevocationList whose CRL parameter takes the $crl variable, thereby causing the certificate revocation lists from the $crl variable to be added to the certificate store identified by the output object of Get-QADLocalCertificateStore MyStore.

Personal tools