Invoke-SetupDiag
Description
Download (if necessary) and execute SetupDiag.exe and return the results.
Requirements
- PowerShell 5+
- Windows OS
- Must be run as an Administrator
Runs SetupDiag.exe and saves the resulting object to a variable.
$setupDiagResults = .\Invoke-SetupDiag.ps1
$setupDiagResults.ProfileName
Output
Log Files
- .\Invoke-SetupDiag-log.txt
- .\Invoke-SetupDiag-error.txt
Tables
- Invoke-SetupDiag_logs
- Invoke-SetupDiag_data