Skip to main content

Get SetupDiag Report

Summary

Download (if necessary) and execute SetupDiag.exe, returning the results to a variable and optionally emailing them.

Sample Run

Sample Run

Dependencies

Variables

NameDescription
SetupDiagResultContains the return from the run of SetupDiag.

User Parameters

NameExampleRequiredDescription
EmailAddressmyemail@provaltech.comFalseSend an email report to a specified address.

Output

Outputs to a variable (SetupDiagResult) that can be referenced in parent scripts.

See Invoke-SetupDiag for additional output information.