Get-RmsCertChain
Get-RmsCertChain
Generates a report containing information about the certificate chain of a particular user request for the Active Directory Rights Management Services (AD RMS) cluster.
構文
Parameter Set: Default
Get-RmsCertChain [-Path] <String[]> -RequestId <Int64> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
This cmdlet generates a report that contains information about the certificate chain of a particular user request on the Active Directory Rights Management Services (AD RMS) cluster.
To obtain the report, specify the RequestID of the user request 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-RmsUserRequestReport cmdlet to obtain the RequestID of the user request for which you want a certificate chain report.
パラメーター
-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 |
-RequestId<Int64>
Specifies the unique internal ID of a user request.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
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 the certification chain of the request with the ID of 100.
C:\PS>Get-RmsCertChain -Path . -RequestId 100
-------------- EXAMPLE 2 --------------
This command uses the Get-RmsUserRequestReport cmdlet to retrieve the ID of a user request and then pipes the ID to the Get-RmsCertChain cmdlet to display the certificate chain of the request.
C:\PS>Get-RmsUserRequestReport -Path . -RequestType GetClientLicensorCertificate -UserId 1 | Get-RmsCertChain -Path .