I need some help finding a specific device id and am looking for the one-liner or script that can help me poll for device ID that is attached to any machine operating in my AD Domain. I know this will require calling WMI objects to poll for device IDS attached.
For intstance:
im looking to inventory a specific scanner, i need to poll the entire AD to find which machines they are attached too, their device name, serial number, etc...
Any help that can be provided would be appreciated.