WMI
Check SMART hard-disk status
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 ...
Disable System Restore
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 ...
Display basic system information
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 ...
List MAC Addresses
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. ...
Show antivirus status
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 ...
