Skip to content

Repository files navigation

SupportAssistScripts

This repository contains a library of PowerShell scripts designed for the deployment, management, and troubleshooting of Dell SupportAssist.

Available Scripts

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.

Checking Registration Status

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.

Screenshot 2026-05-05 145311

You can drill down into the Event Viewer (or similar monitoring tools) for more detailed telemetry:

image

You can use simulare tools too.

Getting SupportAssist CIM Data

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).

Parameters

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)

Example

To retrieve the warranty details of a device by calling the SupportAssist System CIM Class:

get-SupportAssistCIMData -Output System

Example for CIM direct image

Same with the function image

new scripts will follwing.

About

Usefull small script

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages