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.0013623488{main}( )../index.php:0
20.13622186680JSite->dispatch( )../index.php:68
30.14122265064JComponentHelper->renderComponent( )../application.php:124
40.17722402840require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.20622752504showTree( )../mtree.php:284
60.20672758840JCacheCallback->call( )../mtree.php:375
70.20672759712JCacheCallback->get( )../callback.php:48
80.20932803104call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.20932803720showTree_cache( )../callback.php:99
100.24763389032Savant2->display( )../mtree.php:601
110.24763389032Savant2->fetch( )../Savant2.php:987
120.24853431392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.24983433016include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.25463434904include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.25553479752Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.25553481592call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.25553482352Savant2->splugin( )../Savant2.php:1154
180.25703492288call_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.0013623488{main}( )../index.php:0
20.13622186680JSite->dispatch( )../index.php:68
30.14122265064JComponentHelper->renderComponent( )../application.php:124
40.17722402840require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.20622752504showTree( )../mtree.php:284
60.20672758840JCacheCallback->call( )../mtree.php:375
70.20672759712JCacheCallback->get( )../callback.php:48
80.20932803104call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.20932803720showTree_cache( )../callback.php:99
100.24763389032Savant2->display( )../mtree.php:601
110.24763389032Savant2->fetch( )../Savant2.php:987
120.24853431392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.24983433016include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.26073595856include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.26083596456Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.26083598288call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.26083599048Savant2->splugin( )../Savant2.php:1154
180.26093600712call_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.0013623488{main}( )../index.php:0
20.13622186680JSite->dispatch( )../index.php:68
30.14122265064JComponentHelper->renderComponent( )../application.php:124
40.17722402840require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.20622752504showTree( )../mtree.php:284
60.20672758840JCacheCallback->call( )../mtree.php:375
70.20672759712JCacheCallback->get( )../callback.php:48
80.20932803104call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.20932803720showTree_cache( )../callback.php:99
100.24763389032Savant2->display( )../mtree.php:601
110.24763389032Savant2->fetch( )../Savant2.php:987
120.24853431392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.24983433016include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.26313596064include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.26323596664Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.26323598512call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.26323599272Savant2->splugin( )../Savant2.php:1154
180.26333600952call_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.0013623488{main}( )../index.php:0
20.13622186680JSite->dispatch( )../index.php:68
30.14122265064JComponentHelper->renderComponent( )../application.php:124
40.17722402840require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.20622752504showTree( )../mtree.php:284
60.20672758840JCacheCallback->call( )../mtree.php:375
70.20672759712JCacheCallback->get( )../callback.php:48
80.20932803104call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.20932803720showTree_cache( )../callback.php:99
100.24763389032Savant2->display( )../mtree.php:601
110.24763389032Savant2->fetch( )../Savant2.php:987
120.24853431392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.24983433016include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.26553596272include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.26563596872Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.26563598704call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.26573599464Savant2->splugin( )../Savant2.php:1154
180.26573601128call_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.0013623488{main}( )../index.php:0
20.13622186680JSite->dispatch( )../index.php:68
30.14122265064JComponentHelper->renderComponent( )../application.php:124
40.17722402840require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.20622752504showTree( )../mtree.php:284
60.20672758840JCacheCallback->call( )../mtree.php:375
70.20672759712JCacheCallback->get( )../callback.php:48
80.20932803104call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.20932803720showTree_cache( )../callback.php:99
100.24763389032Savant2->display( )../mtree.php:601
110.24763389032Savant2->fetch( )../Savant2.php:987
120.24853431392include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.24983433016include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.26783596480include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.26793597080Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.26793598912call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.26793599672Savant2->splugin( )../Savant2.php:1154
180.26803601336call_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.