Get-RmsUserRequestReport

Get-RmsUserRequestReport

Generates a user requests statistical report for the Active Directory Rights Management Services (AD RMS) cluster.

構文

Parameter Set: Default
Get-RmsUserRequestReport [-Path] <String[]> [-EndTime <DateTime> ] [-RequestType <String> ] [-StartTime <DateTime> ] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

This cmdlet generates a report that contains statistics about the request activity of a single user on the Active Directory Rights Management Services (AD RMS) cluster.

To obtain the report, specify the UserName of the user 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. This will return a UserId and applicable request types that you can then use with the cmdlet to produce a more detailed report.

The UserID value returned for a particular UserName is valid only for the cluster identified by the Path parameter specified when the UserID value was returned. You cannot use the UserID to identify the same user in different clusters.

パラメーター

-EndTime<DateTime>

Specifies the end of a time period for a system health report. This parameter specifies a time value. See the description of the StartTime parameter for information on specifying a time.

エイリアス

なし

必須?

false

位置は?

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

-RequestType<String>

Specifies the type of user request, such as “Acquire License”, “Pre-Certify”, and “Get Client Licensor Certificate”.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

true (ByValue, ByPropertyName)

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

false

-StartTime<DateTime>

Specifies the beginning of a time period. This parameter specifies a time value.

The following examples show commonly-used syntax to specify a time. Time is assumed to be local time unless otherwise specified. When a time value is not specified, the time is assumed to 12:00:00 AM local time. When a date is not specified, the date is assumed to be the current date.

- “4/17/2006”

- “Monday, April 17, 2006”

- “2:22:45 PM”

- “Monday, April 17, 2006 2:22:45 PM”

These examples specify the same date and the time without the seconds.

- "4/17/2006 2:22 PM”

- "Monday, April 17, 2006 2:22 PM"

- "2:22 PM”

The following example shows how to specify a date and time by using the RFC1123 standard. This example defines time by using Greenwich Mean Time (GMT).

-"Mon, 17 Apr 2006 21:22:48 GMT”

The following example shows how to specify a round-trip value as Coordinated Universal Time (UTC). This example represents Monday, April 17, 2006 at 2:22:48 PM UTC.

-"2000-04-17T14:22:48.0000000"

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

true (ByValue, ByPropertyName)

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

false

-UserName<String>

Specifies the user for which you are requesting a user request report, in the format <domain_name>\<user_name>.

エイリアス

なし

必須?

false

位置は?

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 a summary report of the requests from the user RSun of the Research domain.

C:\PS>Get-RmsUserRequestReport -Path . -UserName CONTOSO\RSun

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

This command displays the request by a specified user to acquire a license.

C:\PS>Get-RmsUserRequestReport -Path . -StartTime 2/1/2009 -EndTime 2/28/2009 -UserName CONTOSO\RSun -RequestType AcquireLicense

-------------- EXAMPLE 3 --------------

This command displays detailed information about a user's request to acquire a license. The Get-RmsUserRequestReport cmdlet retrieves the user's license request and then pipes the results to the Get-RmsRequestInfo cmdlet to display the details of the request.

C:\PS>Get-RmsUserRequestReport -Path . -RequestType AcquireLicense -UserName CONTOSO\RSun | Get-RmsRequestInfo -Path .

関連トピック

Get-RmsCertChain

Get-RmsCertInfo

Get-RmsRequestInfo

Using Windows PowerShell with AD RMS