SAS 9.4 Collection Assistant for Deployment Diagnostics (CADDy) is a PowerShell utility provided by SAS Technical Support to collect information commonly needed to investigate SAS 9.4 installation, configuration, upgrade, and migration issues on Windows environments. The tool identifies the SAS installation and configuration directories, gathers relevant diagnostic data, and packages it into a single ZIP file for submission to SAS Technical Support.
The ZIP file is saved to the Desktop of the user running the script. Provide this ZIP file to SAS Technical Support as requested.
-Help
Prints a short usage guide that explains the available command-line options (with examples) and then exits without running any diagnostics collection.
.\collect_diagnostics_s9.ps1 -Help
-Output
Customizes where the output ZIP file is saved. You can provide either a directory path or a full path including the ZIP file name.
.\collect_diagnostics_s9.ps1 -Output "C:\Support"
.\collect_diagnostics_s9.ps1 -Output "C:\Support\SAS_Diagnostics.zip"
-SpecifySASHome
Allows you to explicitly specify the SAS installation directory (SASHome) instead of being automatically detected.
.\collect_diagnostics_s9.ps1 -SpecifySASHome "D:\Program Files\SASHome"
-EnableManifest
Enables the creation of file-size manifest files. The manifest files contain a list of names and file sizes of all files under each SAS installation and configuration directory. Use this option only if requested by SAS Technical Support.
.\collect_diagnostics_s9.ps1 -EnableManifest
-ExportEvents
Exports the Windows Event Viewer System and Application logs to .evtx files and includes them in the CADDy results ZIP. Use this option only if requested by SAS Technical Support.
.\collect_diagnostics_s9.ps1 -ExportEvents