Support
 
Phone Get Quote
 
Support
 
US: +1 888 720 9500
US: +1 888 791 1189
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9892

How to get PnP device from remote computer without using PowerShell - ADAudit Plus

A Plug and Play device (PnP) is an umbrella term for any hardware device that can be automatically detected by a computer without the need for any configuration hardware like dip switches, or jumpers. Display monitors, mouse, keyboards, are PnP devices, along with USB flash drives, memory cards and hard drives. Monitoring PnP connected to your network is an important part of company audit requirements.

The 'Get-PnP' cmdlet in PowerShell retrieves a list of all PnP devices connected to your network. Based on the specified property, this cmdlet can retrieve a list of PnP devices according to present status, instance ID or device of a specified class.

A simpler approach to detect PnP devices would be to use the ADAudit Plus dashboard. ADAudit Plus allows you to easily find PnP related events using its 'Advanced Filter' option. The following comparison shows you how to get PnP devices with PowerShell and with ADAudit Plus and how ADAudit Plus simplifies the process.

Windows PowerShell

Steps to view PnP devices with PowerShell

Run the 'Get-PnP' cmdlet. Simply running this cmdlet would retrieve a list of PnP devices.

Code:

PS C:\>Get-PnpDevice

Appending various properties to the 'Get-Pnp' cmdlet can help you retrieve more specific results

Code: Looking for PnP devices with specific ID

PS C:\>Get-PnpDevice -InstanceId 
'USB\VID_8087&PID_0024\5&3541780&0&1'

Appending a 'PresentOnly' property produces a list of present devices. You can also specify the status of the device as in the code below.

 Code: PS C:\>Get-PnpDevice 
-PresentOnly -Status
ERROR,DEGRADED,UNKNOWN

You can also retrieve a list of PnPs based on device class by using the ' Class' property.

 Code: PS C:\>Get-PnpDevice -Class
 'Keyboard'

ADAudit Plus

Steps to view PnP devices with ADAudit Plus

Login to the ADAudit Plus web console with authorized credentials. Navigate to the 'Server Audit' and go to the 'USB Storage Auditing' tab on the left pane.

In the drop down list select the 'Remove Device Plug in' option.

In the 'Advanced Search' option, you can choose a variety of filter options to look for a specific device.

steps-to-view-pnp-devices-with-adaudit-plus

Advantages of using ADAudit Plus to find a list of PnP devices.

  • Offers you powerful search functionality so you can find specific events you want.
  • Provides a detailed report of PnP devices connected to the network.
  • Easy to access dashboard with a consolidated view of all your reports so you can correlate reports.
  • Export reports easily in the desired format (CSV,HTML, PDF, XLS).
  • Avoid complex PowerShell-scripting, and simplify AD change auditing with ADAudit Plus.
  • Avoid complex PowerShell-scripting, and simplify AD change auditing with ADAudit Plus.
  •  
  • By clicking 'Get Your Free Trial', you agree to processing of personal data according to the Privacy Policy.
  •  
  • Thanks!
  • Your download is in progress and it will be completed in just a few seconds! If you face any issues, download manually here.

Related Resources

ADAudit Plus Trusted By