How to disable and enable power monitor usb via script
I am using power monitor to test current, and I want to do some simple testing via automated commands Before test, I need to send some command to machine via usb, then the current test need remove usb(When connected to USB, the machine will be charged, affecting the results)
From the documentation, I found that USB PASSTHROUGH can be manually configured to be on or off to do this, then I tried to do this via cmd to auto do this, the cmd as below:
disable and enable power monitor usb via windows script
I am using power monitor to test current, and I want to do some simple testing via automated commands Before test, I need to send some command to machine via usb, then the current test need remove usb(When connected to USB, the machine will be charged, affecting the results)
From the documentation, I found that USB PASSTHROUGH can be manually configured to be on or off to do this, then I tried to do this via cmd to auto do this, the cmd as below: