Get-PnpDevice -Class Bluetooth | where HardwareID -Match "\\DEV_" Sources: Related: Tags: Programm PowerShell - Learn PowerShell’s programming paradigms