Add HP USB-C and Thunderbolt dock detection with serial extraction and SnipeIT user lookup#19
Draft
Copilot wants to merge 5 commits into
Draft
Add HP USB-C and Thunderbolt dock detection with serial extraction and SnipeIT user lookup#19Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
…lookup Agent-Logs-Url: https://github.com/linn/Asset-Self-Reporting-SnipeIT/sessions/3b5a277a-b0e3-42c1-bd56-bd685214ed03 Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
… narrow ethernet regex Agent-Logs-Url: https://github.com/linn/Asset-Self-Reporting-SnipeIT/sessions/3b5a277a-b0e3-42c1-bd56-bd685214ed03 Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add USB-C dock detection functionality to script
Add HP USB-C dock detection with serial extraction and SnipeIT user lookup
Apr 15, 2026
Agent-Logs-Url: https://github.com/linn/Asset-Self-Reporting-SnipeIT/sessions/3871a2c0-94a4-4278-9c57-289410d5a46d Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.com>
Author
|
Added HP Thunderbolt Dock support (PID |
Copilot
AI
changed the title
Add HP USB-C dock detection with serial extraction and SnipeIT user lookup
Add HP USB-C and Thunderbolt dock detection with serial extraction and SnipeIT user lookup
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New standalone script to detect connected HP USB-C and Thunderbolt docks, extract their serial numbers, and look up the assigned user from SnipeIT.
Detection strategy
Built from evidence collected on physical systems (Issues #13, #14, #18, #24):
03F0against known dock PIDs —046B(G5),0A6B(G2),0269(Thunderbolt)HP.*(USB|Thunderbolt).*DockFriendlyName regex17E9, observed on PC1486)Serial extraction
Serials live on the parent USB Composite Device InstanceId (no
&MI_segment):Child interface devices (
&MI_XX) are filtered out. Connected (OK) vs. remembered-but-disconnected (Unknown) docks are reported separately.SnipeIT integration
Get-CimInstance Win32_BIOS, falls back to hostname searchAssetSelfReport.ps1SnipeitPSmodule, BIOS query failures, unassigned assets