Get-RmsSystemHealthReport

Generates a system health report of the Active Directory Rights Management Services (AD RMS) cluster.

Syntax

Get-RmsSystemHealthReport
   [-StartTime <DateTime>]
   [-EndTime <DateTime>]
   [-ServerName <String>]
   [-RequestType <String>]
   [-DomainName <String>]
   [-UserName <String>]
   -ReportType <ReportType>
   [-Path] <String[]>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Get-RmsSystemHealthReport cmdlet generates a report that contains information about the overall health of the Active Directory Rights Management Services (AD RMS) cluster.

To obtain the report, set the parameters for the type of report you want and then set the Path parameter to the AD RMS provider drive path <PSDrive>:\Report where <PSDrive> is the provider drive ID. You can also specify a relative path. For example, a dot (.) specifies the current location.

The cmdlet generates a summary report for the specified ReportType unless you specify RequestType, ServerName, DomainName, or UserName.

Examples

Example 1: Get a report for requests

PS C:\> Get-RmsSystemHealthReport -Path "." -ReportType Request

This command displays a summary report of requests processed by the AD RMS cluster.

Example 2: Get a report of user activity

PS C:\> Get-RmsSystemHealthReport -Path "." -StartTime 12/1/2008 -EndTime 12/31/2008 -ReportType User

This command displays a summary report of user activity during calendar year 2008.

Example 3: Get a report of users in a domain

PS C:\> Get-RmsSystemHealthReport -Path "." -ReportType User -DomainName "Research"

This command displays a summary report of requests by all users in the Research domain.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DomainName

Specifies the domain name of the e-mail of the user.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-EndTime

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.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Path

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.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ReportType

Specifies the type of report. The acceptable values for this parameter are:

  • Server
  • Request
  • Domain
  • User
Type:ReportType
Accepted values:Server, Request, Domain, User
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RequestType

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ServerName

Specifies the name of the server for which you are requesting the health report.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-StartTime

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

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-UserName

Specifies the user name for which you are requesting a system health report.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False