To get Device IDs for Hardrwae from Device Manager in Windows 11/10:
Open Device Manager
Select the device
Right-click on it and choose Properties
Go to the Details tab
Now, select Hardware Ids from the dropdown menu under the Property
You will see the hardware IDs there.