How to disable and enable USB device from command-line on Windows operating system

USBDeview is a freeware tool for Windows which allows you to easily disable and enable any USB device from command-line and GUI.
In order to disable or enable your USB device, you have to run USBDeview, and find the USB device that you want to disable/enable:

Let's say that you want to disable the 'Edimax AC600' USB device in the above screenshot, so the command to disable this USB device is:
USBDeview.exe /disable "USB\VID_7392&PID_A812\00e04c000001"

Be aware that disabling a device requires elevation (Run As Administrator), so you have to run this command from command-prompt window executed as admin or from any other service or program executed as admin.
It's also possible to request elevation from USBDeview itself, by adding /RunAsAdmin :
USBDeview.exe /RunAsAdmin /disable "USB\VID_7392&PID_A812\00e04c000001"

In the above examples, I used the string of 'Instance ID' column. It's also possible to use the string of the 'Description' column. You can use the full string, or only part of the string. In the above screenshot, the decsription string of the device is 'Edimax AC600 Wireless LAN USB Adapter', but it's possible to use only part of this string to disable the device, for example:
USBDeview.exe /disable "Edimax AC600"

In order to enable back the device, simply use the /enable command, with the same string to identify the device, for example:
USBDeview.exe /enable "Edimax AC600"

There is also a command to disable the device and then enable it again. The effect of this command is similar to unplugging and then plugging back the USB device:
USBDeview.exe /disable_enable "USB\VID_7392&PID_A812\00e04c000001"

USBDeview also provides additional commands to disable/enable USB devices. For example, you can disable a device according to its VendorID and ProductID:
USBDeview.exe /disable_by_pid "7392;A812"

You can see all available commands to disable and enable a USB device in USBDeview Web page.