On Tuesday, 21 July 2015 at 11:08:00 UTC, Rikki Cattermole wrote:
Lastly, this is half good news and half bad news. We have found a way[2] through WMI/COM to enable/disable them. Although I've never gone the path of COM let alone WMI which could be a rather mess to deal with in D. May be easier to use PowerShell for this.

WMI is accessible through javascript, e.g.:

var Wmi = WScript.CreateObject("WbemScripting.SWbemLocator").ConnectServer(".", "root/cimv2");
var processes = Wmi.ExecQuery("select * from win32_process");

Reply via email to