How Can I Find the Serial Number of a Dell Docking Station Using WMI?
Asked by
TechyNinja42
I'm trying to figure out if there's a way to access the serial number of a Dell docking station connected to a laptop through WMI. I successfully wrote a PowerShell command that retrieves the serial numbers of connected monitors using the WmiMonitorID class, but I can't seem to find a similar WMI object or property for the docking station itself. I came across 'CIM_Docked' in rootCIMV2, but that hasn't worked for me. If anyone knows the WMI solution or alternative ways to get the service tag from a Dell docking station on remote computers, I'd really appreciate it!
Answers
I've been looking into Dell docking stations too! To get the serial number, you might need to install the Dell System Inventory Agent. I was specifically after firmware info, but it also retrieves serial numbers. Check out the guide I followed: https://www.dell.com/support/kbdoc/en-us/000126566/windows-how-to-identify-your-dell-docking-station-using-powershell. Once you get the DSIA installed, you can run this:
`gwmi -n root\dell\sysinv dell_softwareidentity | Where-Object {$_.elementname -like "*Firmware*"} | select versionstring, elementname, SerialNumber | sort elementname`
This should give you the info you need!
Reply to this answer
Add your answer
Answers are reviewed before publication.
User12345: That worked perfectly! Thanks for the heads-up. I initially skipped that document thinking it only covered model data, but I appreciate you pointing me in the right direction!