node-wmi icon indicating copy to clipboard operation
node-wmi copied to clipboard

Library to execute wmi (Windows Management Instrumentation) commands.

Results 7 node-wmi issues
Sort by recently updated
recently updated
newest added

Hi, how i can set enconding in results? i try cp.stdout.setEncoding('utf8') but no result. Example: Caption: "Procesador de datos num�ricos" ..where � is an é Thank you!!

In Query.js, this package relies on package.json to exist in order to name the debug instances. This is silly, and breaks when the package is bundled into a production application,...

Removing dependency on package.json file existing just to initialize the `debug` instances allows this package to be bundled in production applications, such as electron applications, without requiring this module to...

I have not found a way to collect more than one property other than to collect all/any by not providing the criteria. I this possible? Example I am trying to...

Running Win32_GroupUser via normal WMI I get this resposne: ----------------------------------- Win32_GroupUser instance ----------------------------------- GroupComponent: \\COMPUTERNAME\root\cimv2:Win32_Group.Domain="COMPUTERNAME",Name="Guests" PartComponent: \\COMPUTERNAME\root\cimv2:Win32_UserAccount.Domain="COMPUTERNAME",Name="Guest" However empty array is returned. It looks like the , is breaking the...

Hello, I try to query `Win32_PNPAllocatedResource` like this: ```js wmi.Query({ class: 'Win32_PNPAllocatedResource', //where: "Dependent LIKE '%'" }, function(err, resource) { console.log(resource); }); ``` It just returns an array of empty...

Since you're just calling `wmic.exe` as a child process, it should be easy enough to inject `CALL` after `WHERE`. https://msdn.microsoft.com/en-us/library/aa394531(v=vs.85).aspx > CALL > > Executes a method. > > Example:...