请知悉:本文最近一次更新为 7个月 前,文中内容可能已经过时。

这个情况,我在公司因为有很多机顶盒以及各类智能电视,那进入蓝牙和其他设备的页面后,刷百十来个轻轻松松。

这种同名的投影设备怎么处理呢?

蓝牙和其他设备

PowerShell使用以下指令即可按通配符删出:

Get-PnpDevice | Where-Object -FilterScript{$_.FriendlyName -eq "我的鲜时光"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }

参考上面的指令,照猫画虎,我最终得到了自己要用到一波指令:

Get-PnpDevice | Where-Object {$_.FriendlyName -like "*客厅*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*魔百*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*投屏*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*Box*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*DLNA*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*的*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*酷*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*电视*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*盒子*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*彩云*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*CMCC*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*Mebox*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*和家*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*乐投*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*时光*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*Living*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*TV*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*NB0*"}|ForEach-Object{pnputil.exe /remove-device $_.InstanceId }

参考资料

Win10删除蓝牙和其他设备列表中的N多同名的投影设备。

蓝牙和其他设备有很多重复的设备,怎么删除?


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《Win10删除蓝牙和其他设备列表中的N多同名的投影设备》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌