TYPE: Visual Basic Script
PRIMARY LANGUAGE: VBS
AUTHOR: Justin Grimes
ORIGINAL VERSION DATE: 5/31/2018
CURRENT VERSION DATE: 4/24/2019
VERSION: v2.2 - Add -e argument for specifying drives to skip.
DESCRIPTION: A simple script for monitoring storage devices for added/removed volumes and and adequate disk space.
PURPOSE: To monitor company storage devices for changes and/or disk space issues that need to be manually addressed.
- Copy the entire "Storage_Monitor" folder into the "AutomationScripts" folder on SERVER (or any other network accesbible location).
- Add a scheduled task to run "Storage_Monitor.vbs" every 30 minutes.
- Ensure that everyone who runs the script can modify the contents of "Warning.mail" in the AutomationScripts folder and execute sendmail.exe.
- Use the -e argument to specify a comma separated list of drives to skip. EXAMPLE: Storage_Monitor.vbs -e c,d,e,z
NOTES: SendMail for Windows is required and included in the "Storage_Monitor" folder. The SendMail data files must be included in the same directory as "Data_Monitor.vbs" in order for emails to be sent correctly.