Get-CauReport
Retrieves the Updating Run reports for all known Updating Runs, or all Updating Runs that match the specified dates or other specified parameters.
Syntax
Get-CauReport
[[-ClusterName] <String>]
[-Detailed]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-CauReport
[[-ClusterName] <String>]
[[-StartDate] <DateTime>]
[[-EndDate] <DateTime>]
[-Detailed]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-CauReport
[[-ClusterName] <String>]
[-Last]
[-Detailed]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-CauReport
[[-ClusterName] <String>]
[-Report <CauReportSummary>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
The Get-CauReport cmdlet retrieves the Updating Run reports for all known Updating Runs, or all Updating Runs that match the specified dates or other specified parameters. This cmdlet can return a list of all Updating Run reports between the specified StartDate and EndDate parameters, or if the Last parameter is specified instead of dates, then the cmdlet returns the most recent Updating Run report. By default, the report contains summaries only, but more detail can be obtained with the Detailed parameter or by using the Report parameter and specifying a Cluster-Aware Updating (CAU) report summary object for which to return the detailed results.
Examples
EXAMPLE 1
PS C:\> Get-CauReport -ClusterName Contoso-FC1 -StartDate 01/01/2012 -Detailed
This example returns a detailed list of the Updating Runs performed on the cluster called Contoso-FC1 on 01/01/2012 or later.
EXAMPLE 2
PS C:\> Get-CauReport -ClusterName Contoso-FC1 -StartDate 01/01/2012 -EndDate 04/01/2012 -Detailed
This example returns a detailed list of the Updating Runs performed on the cluster called Contoso-FC1 starting with Updating Runs on 01/01/2012 and ending with Updating Runs on 04/01/2012.
EXAMPLE 3
PS C:\> $CauReportSummary=Get-CauReport Contoso-FC1 -Last
PS C:\>Get-CauReport Contoso-FC1 -Report $CauReportSummary
This example uses a CAU report summary object called $CauReportSummary to return a detailed report of the last Updating Run performed on the cluster called Contoso-FC1.
Parameters
-ClusterName
Specifies the name of the cluster for which to retrieve reports. This parameter is only required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to reference a failover cluster different from where the cmdlet is run.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies the administrative credentials for the target cluster.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Detailed
Specifies that the full results for one or more runs will be returned, instead of just summary information.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EndDate
Retrieves only the reports for Runs before this time.
Type: | DateTime |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Last
Retrieves only the most recent Run report.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Report
Retrieves detailed results for the Run represented by the specified report summary.
Type: | CauReportSummary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-StartDate
Retrieves only the reports from Runs on or after this time.
Type: | DateTime |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.ClusterAwareUpdating.CauReportSummary
Outputs
Microsoft.ClusterAwareUpdating.CauReport
Microsoft.ClusterAwareUpdating.CauReportSummary
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for