You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namhyeon, Go edited this page Jun 5, 2022
·
2 revisions
WMI Query
Get list of processes
varWMI=require("lib/wmi");vargetProcesses=function(){returnWMI.execQuery("Select * From Win32_Process").fetchAll();};
Test network ping
varWMI=require("lib/wmi");varping=function(address){returnWMI.execQuery("Select * From Win32_PingStatus where address='"+address+"'").fetch().get("ResponseTime");};console.log(ping("1.1.1.1"));