powerBTremover
powerBTremover copied to clipboard
Auto-remove devices with this get-pnpdevice | where-object change
Is it possible to have the script auto-remove any device that get-pnpdevice with a where-object returns?
I've modified line 14 to
Get-PnpDevice | Where-Object{$_.status -eq "ok" -AND $_.instanceid -like "bthenum\*"}|
so it only shows me error status Bluetooth devices, but I then want to just remove all returned without prompt.