Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I want to get a device state(enable or disable)? If i have a device name, how to get it? Thank a lot.
What kind of device are you working with?
Keep It Simple Stupid! (KISS)
Try using WMI to get the device.
Glad to discuss with you and best wishes.