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

Add Support for Call

Open VertigoRay opened this issue 8 years ago • 0 comments

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: SERVICE WHERE CAPTION='TELNET' CALL STARTSERVICE

Note To determine the methods available for a given class, use /?. For example, SERVICE WHERE CAPTION='TELNET' CALL /? lists the available functions for the service class.

VertigoRay avatar Aug 02 '17 04:08 VertigoRay