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.0010622312{main}( )../index.php:0
20.15792178176JSite->dispatch( )../index.php:68
30.16242256432JComponentHelper->renderComponent( )../application.php:124
40.19722394104require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.22492742304showTree( )../mtree.php:284
60.22542748640JCacheCallback->call( )../mtree.php:375
70.22542749512JCacheCallback->get( )../callback.php:48
80.23082792904call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.23082793520showTree_cache( )../callback.php:99
100.26793378024Savant2->display( )../mtree.php:601
110.26793378024Savant2->fetch( )../Savant2.php:987
120.26873420280include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.26993421696include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.27343423384include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.27413468224Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.27413470064call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.27413470824Savant2->splugin( )../Savant2.php:1154
180.27573480544call_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.0010622312{main}( )../index.php:0
20.15792178176JSite->dispatch( )../index.php:68
30.16242256432JComponentHelper->renderComponent( )../application.php:124
40.19722394104require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.22492742304showTree( )../mtree.php:284
60.22542748640JCacheCallback->call( )../mtree.php:375
70.22542749512JCacheCallback->get( )../callback.php:48
80.23082792904call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.23082793520showTree_cache( )../callback.php:99
100.26793378024Savant2->display( )../mtree.php:601
110.26793378024Savant2->fetch( )../Savant2.php:987
120.26873420280include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.26993421696include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.27913583928include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.27933584528Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.27933586360call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.27933587120Savant2->splugin( )../Savant2.php:1154
180.27933588784call_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.0010622312{main}( )../index.php:0
20.15792178176JSite->dispatch( )../index.php:68
30.16242256432JComponentHelper->renderComponent( )../application.php:124
40.19722394104require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.22492742304showTree( )../mtree.php:284
60.22542748640JCacheCallback->call( )../mtree.php:375
70.22542749512JCacheCallback->get( )../callback.php:48
80.23082792904call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.23082793520showTree_cache( )../callback.php:99
100.26793378024Savant2->display( )../mtree.php:601
110.26793378024Savant2->fetch( )../Savant2.php:987
120.26873420280include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.26993421696include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.28193584032include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.28213584632Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.28213586480call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.28213587240Savant2->splugin( )../Savant2.php:1154
180.28213588920call_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.0010622312{main}( )../index.php:0
20.15792178176JSite->dispatch( )../index.php:68
30.16242256432JComponentHelper->renderComponent( )../application.php:124
40.19722394104require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.22492742304showTree( )../mtree.php:284
60.22542748640JCacheCallback->call( )../mtree.php:375
70.22542749512JCacheCallback->get( )../callback.php:48
80.23082792904call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.23082793520showTree_cache( )../callback.php:99
100.26793378024Savant2->display( )../mtree.php:601
110.26793378024Savant2->fetch( )../Savant2.php:987
120.26873420280include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.26993421696include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.28453584136include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.28473584736Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.28473586568call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.28473587328Savant2->splugin( )../Savant2.php:1154
180.28473588992call_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.0010622312{main}( )../index.php:0
20.15792178176JSite->dispatch( )../index.php:68
30.16242256432JComponentHelper->renderComponent( )../application.php:124
40.19722394104require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.22492742304showTree( )../mtree.php:284
60.22542748640JCacheCallback->call( )../mtree.php:375
70.22542749512JCacheCallback->get( )../callback.php:48
80.23082792904call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.23082793520showTree_cache( )../callback.php:99
100.26793378024Savant2->display( )../mtree.php:601
110.26793378024Savant2->fetch( )../Savant2.php:987
120.26873420280include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.26993421696include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.28763584240include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.28773584840Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.28783586672call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.28783587432Savant2->splugin( )../Savant2.php:1154
180.28783589096call_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.