Can we discover USB attached printers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2011 08:24 AM
Is it possible to discover usb-attached printers? Basically a local (non-networked) printer. What sort of information can we get from it?
cheers,
robin850
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2011 08:36 AM
You sure can..We can gather any WMI statistic and your not alone in your quest...
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/95915c3f-ec52-42b8-8511-6f74d75a9ff8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2011 09:04 AM
thanks Doug.
okay, fellow Discovery users. Who else is digging for locally attached printers and how did you do it?
cheers,
robin850
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2011 02:50 PM
Robin,
I haven't written one yet, but you should be able to fairly easily adapt this PowerShell script to what you need (PowerShell discovery is available in June 2011 Preview 3). This may be more of what you're looking for anyway--you can see ALL the USB-connected devices, and populate a "USB Device" table if you like.
http://blogs.msdn.com/b/powershell/archive/2007/02/24/displaying-usb-devices-using-wmi.aspx
I just wrote a PS script to get the size of the various users' My Documents folder, but haven't had a chance to test it yet, as my customer isn't *quite* on Preview 3--they're waiting for the full release.