SYNOPSIS

Builds an error report for AskUI issues.

DESCRIPTION

The AskUI-BuildErrorReport cmdlet creates a comprehensive error report by gathering logs, project files, and additional artifacts to help troubleshoot AskUI issues.

PARAMETERS

  • -Project | <String[]> - Project directories to be included in the error report.
  • -AdditionalFiles | <String[]> - Additional files to be included in the error report. (e.g. annotations, screenshots)
  • -MaxLogFileAgeInHours | <Int32> - Maximum age of log files to be included in the error report. Default: 96 hours (4 days)

EXAMPLES

EXAMPLE 1

AskUI-BuildErrorReport
Creates an error report using default settings.

EXAMPLE 2

AskUI-BuildErrorReport -Project "C:\MyProject" -MaxLogFileAgeInHours 48
Creates an error report including specified project files and logs from last 48 hours.

EXAMPLE 3

AskUI-BuildErrorReport -AdditionalFiles "screenshot.png","error.log" 
Creates an error report including specified additional files.