This repository contains a library of PowerShell scripts designed for the deployment, management, and troubleshooting of Dell SupportAssist.
| Script | Description |
|---|---|
Detection_SA_registration_failed.ps1 |
Checks the registration status of Dell SupportAssist via WMI and provides automated troubleshooting logs. |
get-SupportAssistCIMData.ps1 |
A reusable function that retrieves Dell SupportAssist CIM data and translates numeric status codes into human-readable text. |
Script: Detection_SA_registration_failed.ps1
During automated deployments, it can be difficult to confirm whether a device has successfully registered with Dell TechDirect. Instead of manually cross-referencing your asset lists, this script queries Windows Management Instrumentation (WMI) to verify the SupportAssist registration status.
If the registration check fails, the script automatically executes selfdiagnose.exe and logs the output to the Windows Event Viewer. This provides immediate, actionable details for troubleshooting why the registration failed.
Use Case: This script serves as an excellent Microsoft Intune Detection Rule, making it easy to identify unregistered devices missing from your Dell TechDirect portal.
You can drill down into the Event Viewer (or similar monitoring tools) for more detailed telemetry:
You can use simulare tools too.
Script: get-SupportAssistCIMData.ps1
This PowerShell function can be easily integrated into your custom scripts to retrieve Dell SupportAssist CIM data. As an added enhancement, the function automatically translates numeric values into readable text (for example, it translates Entitlement 3 to Dell ProSupport).
The -Output parameter accepts the short name of the target CIM Class:
| Short Name | CIM Class |
|---|---|
System |
DSA_SystemInformation |
Case |
DSA_CaseInformation |
Alert |
DSA_AlertInformation |
Registration |
DSA_RegistrationInformation |
RemoteAction |
DSA_RemoteAction (Requires SupportAssist for Business PCs version 4.9 or later) |
To retrieve the warranty details of a device by calling the SupportAssist System CIM Class:
get-SupportAssistCIMData -Output System
new scripts will follwing.

