Builds a migration report.
Build-Report [-Customer] <String> [-Source] <String> [-Target] <String> [-Mode] <String>
[[-LogFolder] <String>] [[-MigrationReport] <String>] [[-LimitBy] <String>] [-TotalsOnly] [[-Format] <String>]
[<CommonParameters>]
Use the Build-Report
cmdlet to generate various reports from a set of logs.
Build-Report -Mode RcloneErrors -LogFolder 'C:\Temp\logs' -Format Csv
Generates a report of Rclone errors from the logs in C:\Temp\logs
and outputs as CSV.
Build-Report -Mode RcloneErrorsUnique -LogFolder 'C:\Temp\logs' -Format Csv
Generates a report of unique Rclone errors from the logs in C:\Temp\logs
and outputs as CSV.
Build-Report -Mode RclonePerformanceByJob -LogFolder 'C:\Temp\logs' -Format Csv
Generates a report of Rclone job performance from the logs in C:\Temp\logs
and outputs as CSV.
Build-Report -Mode RclonePerformanceByMigration -LogFolder 'C:\Temp\logs' -Format Csv
Generates a report of Rclone migration performance from the logs in C:\Temp\logs
and outputs as CSV.
Build-Report -Mode TmcErrors -LogFolder 'C:\Temp\job_logs' -Format Csv
Generates a report of TMC errors from the logs in C:\Temp\job_logs
and outputs as CSV.
Build-Report -Mode TmcErrorsUnique -LogFolder 'C:\Temp\job_logs' -Format Csv
Generates a report of unique TMC errors from the logs in C:\Temp\job_logs
and outputs as CSV.
Build-Report -Mode 'TmcPerformanceByJob' -Format Csv
Generates a report of TMC job performance from Migration Report for Project.csv
and outputs as CSV.
Build-Report -Mode 'TmcPerformanceByMigration' -Format Csv
Generates a report of TMC migration performance from Migration Report for Project.csv
and outputs as CSV.
Build-Report -Mode 'TmcItemsByUser'
Generates a report of items migrated by user from Migration Report for Project.csv
and outputs as text. Note that the
report contains per-job item totals.
Build-Report -Mode 'TmcItemsByUser' -TotalsOnly
Generates a report of items migrated by user from Migration Report for Project.csv
and outputs as text. Note that the
report contains cumulative totals across all jobs.
The name of the customer for which the report is being generated. Use quotes
around names that contain spaces. For example, 'Sample Customer'
.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the output format for report data.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Csv, Json, Objects, Text
Required: False
Position: 7
Default value: Objects
Accept pipeline input: False
Accept wildcard characters: False
Specifies the data by which the report set will be limited when
General.MaxReports
is set in config.psd1
. For example, if
General.MaxReports
is set to 10
, using -LimitBy DurationMinutes
will only
output the 10 longest-running jobs or migrations.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Jobs, DurationMinutes, TransferredGb, TransferredObjects, TransfersAttempted, TransfersCompleted
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to a folder containing job logs.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of a migration export exported from TMC. If not specified, this defaults
to Migration Report for Project.csv
.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Determines the type of report to build.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: RcloneErrors, RcloneErrorsUnique, RcloneWarnings, RcloneWarningsUnique, RclonePerformanceByJob, RclonePerformanceByMigration, TmcErrors, TmcErrorsUnique, TmcWarnings, TmcWarningsUnique, TmcItemsByUser, TmcPerformanceByJob, TmcPerformanceByMigration
Required: True
Position: 3
Default value: ErrorsAndWarnings
Accept pipeline input: False
Accept wildcard characters: False
Specifies the source platform for the report data.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Amazon WorkMail, Domino, Exchange, GoDaddy 365, Google Consumer, Google Workspace, GroupWise, IMAP, Kerio, Microsoft 365, NSF, PST, Zimbra
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the target platform for the report data.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Amazon WorkMail, GoDaddy 365, Google Consumer, Google Workspace, IMAP, Microsoft 365
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates that when running in TmcItemsByUser
mode and with Text
format, only cumulative totals should be reported.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.