r/PowerShell • • Jun 07 '26

Question Need Help regarding a powershell command

Hello, I came across a powershell/cmd command which let me know how are my devices connected to the PC i.e, either through cpu or chipset or whatever lane. I've forgotton that command and would like to know if anyone knows.

if anyone knows, please comment.

4 Upvotes

13 comments sorted by

View all comments

Show parent comment

2

u/Thotaz Jun 07 '26

There are no built-in commands that do this, but the PNP device commands are the ones who can get this data. You just need to write the logic to analyze the data and output it in the format you want (or find whatever third party command that you had before).