Paypal Donate

WMI


Listings


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0003622936{main}( )../index.php:0
20.07512179720JSite->dispatch( )../index.php:68
30.07832257960JComponentHelper->renderComponent( )../application.php:124
40.08882395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.09652742072showTree( )../mtree.php:284
60.09732748408JCacheCallback->call( )../mtree.php:375
70.09732749280JCacheCallback->get( )../callback.php:48
80.09872792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.09872793288showTree_cache( )../callback.php:99
100.12163375992Savant2->display( )../mtree.php:601
110.12173375992Savant2->fetch( )../Savant2.php:987
120.12203418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.12273419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.12693421864include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.12743467424Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.12743469264call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.12753470024Savant2->splugin( )../Savant2.php:1154
180.12783479632call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

This script will query the SMART status of a hard-disk for reports of any imminent failures.  It takes a list of computers (in a text file) and will both save a report and show the results in the command window.

If SMART isn't enabled (and ...


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0003622936{main}( )../index.php:0
20.07512179720JSite->dispatch( )../index.php:68
30.07832257960JComponentHelper->renderComponent( )../application.php:124
40.08882395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.09652742072showTree( )../mtree.php:284
60.09732748408JCacheCallback->call( )../mtree.php:375
70.09732749280JCacheCallback->get( )../callback.php:48
80.09872792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.09872793288showTree_cache( )../callback.php:99
100.12163375992Savant2->display( )../mtree.php:601
110.12173375992Savant2->fetch( )../Savant2.php:987
120.12203418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.12273419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.13143586816include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.13163587416Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.13163589248call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.13163590008Savant2->splugin( )../Savant2.php:1154
180.13163591672call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

The attached script uses WMI to disable System Restore on Windows XP (it may work on Vista, but I haven't tried it).

The main function is DisableSystemRestore, and can be called with a computer name (or "." for the local computer) by its ...


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0003622936{main}( )../index.php:0
20.07512179720JSite->dispatch( )../index.php:68
30.07832257960JComponentHelper->renderComponent( )../application.php:124
40.08882395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.09652742072showTree( )../mtree.php:284
60.09732748408JCacheCallback->call( )../mtree.php:375
70.09732749280JCacheCallback->get( )../callback.php:48
80.09872792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.09872793288showTree_cache( )../callback.php:99
100.12163375992Savant2->display( )../mtree.php:601
110.12173375992Savant2->fetch( )../Savant2.php:987
120.12203418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.12273419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.13493587024include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.13503587624Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.13513589472call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.13513590232Savant2->splugin( )../Savant2.php:1154
180.13513591912call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

This WMI VBScript obtains and displays basic system information about the system.  Information includes hard disk free space (both in Mb and as a percentage of the total drive space), CPU load (at the time the script is run), total physical memory ...


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0003622936{main}( )../index.php:0
20.07512179720JSite->dispatch( )../index.php:68
30.07832257960JComponentHelper->renderComponent( )../application.php:124
40.08882395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.09652742072showTree( )../mtree.php:284
60.09732748408JCacheCallback->call( )../mtree.php:375
70.09732749280JCacheCallback->get( )../callback.php:48
80.09872792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.09872793288showTree_cache( )../callback.php:99
100.12163375992Savant2->display( )../mtree.php:601
110.12173375992Savant2->fetch( )../Savant2.php:987
120.12203418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.12273419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.13733587232include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.13743587832Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.13743589664call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.13743590424Savant2->splugin( )../Savant2.php:1154
180.13753592088call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

This script displays the MAC (Media Access Code) of all the network adapters installed in a system (should work on Windows 2000 and above).

The function returns the details as a string - in the example script this is simply shown on the screen. ...


( ! ) Warning: Parameter 1 to Savant2_Plugin_ahreflisting::plugin() expected to be a reference, value given in /home/ceditbiz/public_html/components/com_mtree/Savant2.php on line 1127
Call Stack
#TimeMemoryFunctionLocation
10.0003622936{main}( )../index.php:0
20.07512179720JSite->dispatch( )../index.php:68
30.07832257960JComponentHelper->renderComponent( )../application.php:124
40.08882395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.09652742072showTree( )../mtree.php:284
60.09732748408JCacheCallback->call( )../mtree.php:375
70.09732749280JCacheCallback->get( )../callback.php:48
80.09872792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.09872793288showTree_cache( )../callback.php:99
100.12163375992Savant2->display( )../mtree.php:601
110.12173375992Savant2->fetch( )../Savant2.php:987
120.12203418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.12273419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.13963587440include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.13973588040Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.13973589872call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.13973590632Savant2->splugin( )../Savant2.php:1154
180.13973592296call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1127} ( )../Savant2.php:1127

This WMI script displays information about the currently installed antivirus product, and whether it is up-to-date.  It can easily be adapted for a domain admin's use to produce a report on all the machines on a network.

' Script written ...

Copyright © 2009 www.cedit.biz. All rights reserved.