Get-SmJobSummaryReport
Initiates a job summary report.
Syntax
Get-SmJobSummaryReport [-Date] <DateTime> [-JobId] <Int64>
Detailed Description
Initiates a job summary report. A job summary report provides information on every job initiated by SnapCenter on a specified day, along with a breakdown of the job status. The job summary report provides similar data to the job information in the Monitor page of the SnapCenter GUI, however here the job information is limited to one day.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Date |
Specifies the day for which you want to initiate the job summary report. If the cmdlet is run from the remote computer, the output will be shown based on the SnapCenter Server time zone. |
false |
true (ByValue, ByPropertyName) |
|
JobId |
To be deleted. |
false |
true (ByValue, ByPropertyName) |
Examples
Example 1: Initiating a job summary report for one day
Get-SmJobSummaryReport -Date "1/27/2015"
This example syntax gets a job summary report of all jobs run on January 27th, 2015.
SmJobId: 1750 JobCreatedDateTime : JobStartDateTime : 1/27/2015 12:18:13 PM JobEndDateTime : 1/27/2015 12:18:24 PM JobDuration: 00:00:11.1600000 JobName: Backup of dataset 'Test' with policy 'OnDemand' JobDescription : Status : Completed IsScheduled: JobError : JobType: Backup PolicyName : SmJobId: 1781 JobCreatedDateTime : JobStartDateTime : 1/27/2015 1:07:14 PM JobEndDateTime : 1/27/2015 1:07:03 PM JobDuration: -00:00:10.8830000 JobName: Backup of dataset 'Clone' with policy 'Vault' JobDescription : Status : Completed IsScheduled: JobError : JobType: Backup PolicyName :
Example 2: Initiating a job summary report for failed jobs on a given day
Get-SmJobSummaryReport -Date "1/27/2015"| ?{$_.Status -eq "Failed" }
Get a job summary report for failed jobs on January 27th, 2015.
SmJobId: 1770 JobCreatedDateTime : JobStartDateTime : 1/27/2015 1:01:22 PM JobEndDateTime : JobDuration: JobName: Backup verification of dataset 'Test' with policy 'VerificationDefault' JobDescription : Status : Failed IsScheduled: JobError : Verification server(s) are not configured in the dataset JobType: Dataset PolicyName : SmJobId: 1777 JobCreatedDateTime : JobStartDateTime : 1/27/2015 1:06:58 PM JobEndDateTime : JobDuration: JobName: Backup verification of dataset 'Test' with policy 'VerificationDefault' JobDescription : Status : Failed IsScheduled: JobError : Verification server(s) are not configured in the dataset JobType: Dataset PolicyName :