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.

構文

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

詳細説明

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

パラメーター

-CertificateId<String>

Specifies a unique internal certificate ID.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

-------------- 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 .

関連トピック

Get-RmsCertChain

Get-RmsChildCert

Get-RmsUserRequestReport

Using Windows PowerShell with AD RMS