Announcement

Collapse
No announcement yet.

List of Plug and Play Devices

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • List of Plug and Play Devices

    Please use the below script to get list of all plug and play devices from the target machine

    Code:
    import os
    
    lOut = os.popen('wmic logicaldisk where drivetype=2 get deviceid, volumename, description').readlines()
    
    for i in lOut:
    
        print i
    Last edited by Purushothaman; 11-04-2016, 01:06 PM.
Working...
X