用于启用/禁用logitech统一加密狗的powershell命令
我试图以管理员身份运行以下powershell命令,以任意启用和禁用键盘和鼠标的Logictech加密狗。以下是我想做的:用于启用/禁用logitech统一加密狗的powershell命令,powershell,usb,kvm,plug-and-play,Powershell,Usb,Kvm,Plug And Play,我试图以管理员身份运行以下powershell命令,以任意启用和禁用键盘和鼠标的Logictech加密狗。以下是我想做的: PS C:\> Get-PnpDevice -FriendlyName "Logitech USB Input Device" | where-object {$_.Status -eq "OK"} | Disable-PnpDevice -confirm:$false Disable-PnpDevice : Not supported 不确定这是否是禁用加密
PS C:\> Get-PnpDevice -FriendlyName "Logitech USB Input Device" |
where-object {$_.Status -eq "OK"} |
Disable-PnpDevice -confirm:$false
Disable-PnpDevice : Not supported
不确定这是否是禁用加密狗并稍后重新启用它的正确方法。正如你所看到的,使用这个命令,我收到了一个错误
有什么办法吗 对我来说很有用,就像你用M560做的那样
Get-PnpDevice -FriendlyName "Logitech*" -Class 'Mouse' | Disable-PnpDevice -confirm:$false
鼠标停止工作
Get-PnpDevice -FriendlyName "Logitech*" -Class 'Mouse' | Enable-PnpDevice -confirm:$false
重新开始工作。就像你用M560做的那样对我有用
Get-PnpDevice -FriendlyName "Logitech*" -Class 'Mouse' | Disable-PnpDevice -confirm:$false
鼠标停止工作
Get-PnpDevice -FriendlyName "Logitech*" -Class 'Mouse' | Enable-PnpDevice -confirm:$false
重新开始工作。要在此处禁用接收器本身,请在
FriendlyName:Logitech Unifiing USB接收器
要在此处禁用接收器本身,请在FriendlyName:Logitech Unifiing USB接收器