Import-QADCertificateRevocationList

From PowerGUI Wiki

Jump to: navigation, search

Create a certificate revocation list (CRL) object and populate the object with the CRL data from a byte array or a file.

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

Contents

Syntax

Import-QADCertificateRevocationList -File <FileInfo> [<CommonParameters>]

Import-QADCertificateRevocationList [-FileName] <string> [<CommonParameters>]

Import-QADCertificateRevocationList -RawData <object> [<CommonParameters>]

Detailed Description

Use this cmdlet to create a certificate revocation list (CRL) object populated with the CRL data found in a byte array or a file. The cmdlet can take an output object of the Get-Content cmdlet containing the data found in a CRL file, and return a CRL object that represents the corresponding certificate revocation list. Another option is to have the cmdlet import the certificate revocation list directly from a CRL file specified (see examples).



Parameters

Name Description Required? Pipeline Input Default Value
File This parameter is intended to receive a FileInfo object that identifies the file containing the certificate revocation list (CRL) data to import. If you need to supply the path and name of the file, use the FileName parameter.

With this parameter, the cmdlet takes a CRL file that represents a certificate revocation list, and populates the output object with the CRL the file contains. This could be, for example, a file created by using the Export-QADCertificateRevocationList cmdlet.

true true (ByValue, ByPropertyName)
FileName Use this parameter to supply the path and name of the file containing the certificate revocation list (CRL) data to import. The path can be an absolute path, such as c:\export.crl, or a relative path. If the path or file name includes spaces, enclose the parameter value in quotation marks.

With this parameter, the cmdlet takes a CRL file that represents a certificate revocation list, and populates the output object with the CRL the file contains. This could be, for example, a file created by using the Export-QADCertificateRevocationList cmdlet.

true false
RawData Use this parameter to specify the object that contains the certificate revocation list (CRL) data to import. This could be, for example, an output object of the Get-Content cmdlet. true true (ByPropertyName)

Examples

EXAMPLE 1

Import-QADCertificateRevocationList c:\export.crl

Description


Create a CRL object that represents a certificate revocation list found in the specified CRL file (c:\export.crl).

EXAMPLE 2

dir c:\crl |	
 Import-QADCertificateRevocationList

Description


Create a set of CRL objects each of which represents one of the certificate revocation lists found in the CRL files that are located in the specified folder (c:\crl).

Personal tools