Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用PowerShell禁用/启用指定的蓝牙配置文件?_Powershell_Bluetooth - Fatal编程技术网

如何使用PowerShell禁用/启用指定的蓝牙配置文件?

如何使用PowerShell禁用/启用指定的蓝牙配置文件?,powershell,bluetooth,Powershell,Bluetooth,出于安全原因,我想建立蓝牙连接,但只有两个配置文件处于活动状态。HSP和HID。我正在尝试编写PowerShell脚本,但找不到任何解决方案。感谢您的帮助 我在数据库中搜索注册表项 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ 并在设备管理器中搜索 尚未编写任何代码。请参见此处-最好使用策略。注册表的BT区域为HKLM\SYSTEM\CurrentControlSet\Services\BTHPORT

出于安全原因,我想建立蓝牙连接,但只有两个配置文件处于活动状态。HSP和HID。我正在尝试编写PowerShell脚本,但找不到任何解决方案。感谢您的帮助

我在数据库中搜索注册表项

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ 
并在设备管理器中搜索


尚未编写任何代码。

请参见此处-最好使用策略。注册表的BT区域为HKLM\SYSTEM\CurrentControlSet\Services\BTHPORT