Skip to content

Instantly share code, notes, and snippets.

@zaskem
Created April 11, 2023 14:33
Show Gist options
  • Save zaskem/aa9db93215cb72cbbbb372e90a845dec to your computer and use it in GitHub Desktop.
Save zaskem/aa9db93215cb72cbbbb372e90a845dec to your computer and use it in GitHub Desktop.
One-liner to identify attached Dell dock firmware and model number from WMI when the Dell System Inventory Agent (DSIA) is installed on the host machine.

Get-WmiObject -Namespace root\dell\sysinv dell_softwareidentity -ErrorAction Stop | Select-Object VersionString, ElementName | Where-Object ElementName -like "WD19" | Sort-Object ElementName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment