Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

To find MTP devices in Power Shell use this command:

Get-WmiObject -class win32_pnpentity -computername localhost | where-object {$_.HardwareID -like "*MTP*"} | format-list
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #To #find #MTP #devices #Power #Shell
ADD COMMENT
Topic
Name
3+4 =