PowerTip: Find all devices connected to a computer

Doctor Scripto

Summary: Use PowerShell to find all devices that are connected to a computer.

Hey, Scripting Guy! Question How can I use Windows PowerShell to list all devices that are connected to a computer?

Hey, Scripting Guy! Answer Use the Get-PnpDevice cmdlet and the -PresentOnly switch. Here is an example:

Get-PnpDevice -PresentOnly

The Doctor

0 comments

Discussion is closed.

Feedback usabilla icon