Share via

View active usb hardware via powershell and Cmd

Anonymous
2022-09-19T12:49:23+00:00

I can't see the attached usb dongle via cmd and powershell. I need to get serial number with command

I couldn't get it with the following command

import subprocess

print(subprocess.getoutput("C:\Windows\SysWOW64\wbem\wmic.exe diskdrive get model,serialnumber,interfacetype,description"))

Windows for home | Windows 11 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-09-20T03:08:43+00:00

    Hi RahimCELIK,

    Thank you for using our Microsoft community.

    This question is out of scope for the Answers Support Community. The best place to get help is Microsoft Docs - Windows-Server-Powershell(microsoft.com), where is intended to support more advanced users.

    If anything is unclear, please do not hesitate to let me know.

    Best Regards,

    Mosken_L - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments