A user asked if there was a way to query connected Dell docking station models and add them to an index. Another user suggested using a PowerShell script and adding a custom action to populate the index with the information. Three different scripts were also provided for potential use.
Read the entire ‘Querying Dell Docking Station Models and Populating an Index in ControlUp’ thread below:
Is anyone aware of a way to query connected dell docking station models to pull to an index? I do not see any built-in scripts that contain this functionality or if its even possible outside of display peripherals.
Hi Kaleb,
If you can get a PowerShell script to capture this, it is entirely possible to add a Custom Action and populate it to a custom data index
Wonder if any of these would work:
Get-PnPDevice | Where-Object { $.FriendlyName -like "DellDock" -or $.FriendlyName -like "WD15" -or $.FriendlyName -like "WD19" -or $.FriendlyName -like "WD22*" } | Select-Object FriendlyName, Status, DeviceID
Get-CimInstance -Namespace "root/dcim/sysman" -ClassName DCIM_Chassis |
Where-Object { $_.Name -match "WD19" -or $_.Model -match "Dock" -or $_.CreationClassName -match "Dock" } |
Select-Object ElementName, Model, Manufacturer, SerialNumber, Tag, Version
Get-CimInstance -Namespace "root\dell\sysinv" -ClassName dell_softwareidentity |
Where-Object { $_.elementname -like "Docking Station" } |
Select-Object elementname, versionstring |
Sort-Object elementname
Thanks Abel,
Ill will do some testing on this. I really appreciate the assistance!
Continue reading and comment on the thread ‘Querying Dell Docking Station Models and Populating an Index in ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
