Answer the question
In order to leave comments, you need to log in
How to execute a wmi request in javascript?
how to translate such a request into js wmic useraccount where name='adm' get sid
Thank you all in advance!
Answer the question
In order to leave comments, you need to log in
https://www.npmjs.com/package/ms-wmic
something like
wmic.execute('useraccount where name="adm" get sid', function (err, stdOut) {
if (err) {
console.error(err);
}
console.log(stdOut);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question