Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (2) | Download .zip | Reputation | Support forum (3) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2009-12-30 (6 years ago) | Not enough user ratings | Total: 1,480 This week: 1 | All time: 2,555 This week: 1,047 |
Version | License | PHP version | Categories | |||
simplewmi 2.0 | GNU General Publi... | 5 | Windows |
Description | Author | ||||||||||||||||
This class can be used to access Windows resources using WMI objects. Innovation Award
|
|
For more references around this please visit http://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspx This is just a simple document around running the EasyWMI class and how to use it. // Create new Instance of the EasyADSI Class $test = new EasyWMI('servername','user','password','namespace','domain'); // Choose classname $test->useTable('classname'); // Create Selection $test->setSelection('*'); // Set Search Critria $test->setWhere("Name = 'Info'"); // Run Selection $test->select(); // Get Record Set in an Array $array = $test->fetchAssoc(); // Get Field Names in an array $field = $test->fetchFieldName(); // Free form query $test->setQuery("SELECT * FROM Win32_NetworkAdapter WHERE IPAddress = '1.2.3.4'"); |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (2) | ||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.