Get-RmsCertInfo

Get-RmsCertInfo

Generates a report containing information about a particular certificate used in a user request for the Active Directory Rights Management Services (AD RMS) cluster.

Sintaxis

Parameter Set: Default
Get-RmsCertInfo [-Path] <String[]> -CertificateId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

This cmdlet generates a report that contains information about a particular certificate used in a user request on the Active Directory Rights Management Services (AD RMS) cluster.

To obtain the report, specify the CertificateID of the certificate for which you want a report and then set the Path parameter to the AD RMS provider drive subpath “<PSDrive>:\Report” where <PSDrive> is the provider drive ID. You can also specify a relative path. For example, “.” specifies the current location.

Use the Get-RmsCertChain cmdlet to obtain the CertificateID of the certificate for which you want a report. The CertificateID value returned is valid only for the cluster identified by the Path parameter of Get-RmsCertChain. You cannot use a CertificateID to identify the same certificate in different clusters

Parámetros

-CertificateId<String>

Specifies a unique internal certificate ID.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-Path<String[]>

Specifies a provider drive and path or relative path on the current drive. This parameter is required. Use a dot (.) to specify the current location. This parameter does not accept wildcards and has no default value.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

-------------- EXAMPLE 1 --------------

This command displays detailed information for a particular certificate.

C:\PS>Get-RmsCertInfo -Path . -CertificateId sH+lchPGEP9IKIajmnw5QGUqOl4=

-------------- EXAMPLE 2 --------------

This command stores filtered results of the Get-RmsCertChain cmdlet in a variable and then pipes the first certificate in the array to the Get-RmsCertInfo cmdlet to display details about that certificate.

C:\PS>$certs= Get-RmsCertChain -Path . -RequestId 2 | Where {$_.CertificateType -eq 'DRM-CA-Certificate'}
$certs[0] | Get-RmsCertInfo -Path .

Temas relacionados

Get-RmsCertChain

Get-RmsChildCert

Get-RmsUserRequestReport

Using Windows PowerShell with AD RMS