To list the installed devices for the computer MyMachine2, use the following script.
cscript Device.vbs /L /S MyMachine2
To stop the device Beep on the current computer, use the following script.
cscript Device.vbs /X /D Beep