You can download the scripting program for generating these scripts at:
http://www.planetmps.com/wmiscriptsexecquery.html
com_load_typelib("Microsoft WMI Scripting V1.2 Library");
$locator = new COM("WbemScripting.SWbemLocator");
$svc = $locator->ConnectServer();
$objs = $svc->ExecQuery("Select * From Win32_Process");
foreach($objs as $obj)
{
foreach($prop as $obj->Properties_)
{
}
last;
}
No comments:
Post a Comment