Advertisement
easternnl

Detect Other Devices / Unknown Devices

Dec 21st, 2015
539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Get-WmiObject Win32_PNPEntity | Where-Object{$_.ConfigManagerErrorCode -ne 0} | Select Name, DeviceID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement