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.0002622936{main}( )../index.php:0
20.05162179720JSite->dispatch( )../index.php:68
30.05352257960JComponentHelper->renderComponent( )../application.php:124
40.05942395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06442742072showTree( )../mtree.php:284
60.06482748408JCacheCallback->call( )../mtree.php:375
70.06482749280JCacheCallback->get( )../callback.php:48
80.08052792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.08052793288showTree_cache( )../callback.php:99
100.10663375992Savant2->display( )../mtree.php:601
110.10663375992Savant2->fetch( )../Savant2.php:987
120.10693418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.10753419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.11003421768include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.11063466608Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.11063468448call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.11063469208Savant2->splugin( )../Savant2.php:1154
180.11093478808call_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.0002622936{main}( )../index.php:0
20.05162179720JSite->dispatch( )../index.php:68
30.05352257960JComponentHelper->renderComponent( )../application.php:124
40.05942395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06442742072showTree( )../mtree.php:284
60.06482748408JCacheCallback->call( )../mtree.php:375
70.06482749280JCacheCallback->get( )../callback.php:48
80.08052792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.08052793288showTree_cache( )../callback.php:99
100.10663375992Savant2->display( )../mtree.php:601
110.10663375992Savant2->fetch( )../Savant2.php:987
120.10693418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.10753419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.11423582152include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.11433582752Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.11433584584call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.11433585344Savant2->splugin( )../Savant2.php:1154
180.11443587008call_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.0002622936{main}( )../index.php:0
20.05162179720JSite->dispatch( )../index.php:68
30.05352257960JComponentHelper->renderComponent( )../application.php:124
40.05942395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06442742072showTree( )../mtree.php:284
60.06482748408JCacheCallback->call( )../mtree.php:375
70.06482749280JCacheCallback->get( )../callback.php:48
80.08052792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.08052793288showTree_cache( )../callback.php:99
100.10663375992Savant2->display( )../mtree.php:601
110.10663375992Savant2->fetch( )../Savant2.php:987
120.10693418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.10753419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.11653582360include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.11663582960Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.11663584808call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.11663585568Savant2->splugin( )../Savant2.php:1154
180.11673587248call_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.0002622936{main}( )../index.php:0
20.05162179720JSite->dispatch( )../index.php:68
30.05352257960JComponentHelper->renderComponent( )../application.php:124
40.05942395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06442742072showTree( )../mtree.php:284
60.06482748408JCacheCallback->call( )../mtree.php:375
70.06482749280JCacheCallback->get( )../callback.php:48
80.08052792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.08052793288showTree_cache( )../callback.php:99
100.10663375992Savant2->display( )../mtree.php:601
110.10663375992Savant2->fetch( )../Savant2.php:987
120.10693418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.10753419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.11883582568include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.11893583168Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.11903585000call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.11903585760Savant2->splugin( )../Savant2.php:1154
180.11903587424call_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.0002622936{main}( )../index.php:0
20.05162179720JSite->dispatch( )../index.php:68
30.05352257960JComponentHelper->renderComponent( )../application.php:124
40.05942395584require_once( '/home/ceditbiz/public_html/components/com_mtree/mtree.php' )../helper.php:162
50.06442742072showTree( )../mtree.php:284
60.06482748408JCacheCallback->call( )../mtree.php:375
70.06482749280JCacheCallback->get( )../callback.php:48
80.08052792672call_user_func_array:{/home/ceditbiz/public_html/libraries/joomla/cache/handler/callback.php:99} ( )../callback.php:99
90.08052793288showTree_cache( )../callback.php:99
100.10663375992Savant2->display( )../mtree.php:601
110.10663375992Savant2->fetch( )../Savant2.php:987
120.10693418352include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/page_subCatIndex.tpl.php' )../Savant2.php:958
130.10753419976include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listings.tpl.php' )../page_subCatIndex.tpl.php:19
140.12103582776include( '/home/ceditbiz/public_html/components/com_mtree/templates/m2/sub_listingSummary.tpl.php' )../sub_listings.tpl.php:27
150.12123583376Savant2->plugin( )../sub_listingSummary.tpl.php:8
160.12123585208call_user_func_array:{/home/ceditbiz/public_html/components/com_mtree/Savant2.php:1154} ( )../Savant2.php:1154
170.12123585968Savant2->splugin( )../Savant2.php:1154
180.12123587632call_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.