Skip to content
A Windows Task & Command Line script for monitoring workstation storage devices for changes/low disk space.
Visual Basic
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
Storage_Monitor.vbs
Storage_Monitor.vbs_Changelog.txt
Storage_Monitor.vbs_Readme.txt
libeay32.dll
license.txt
sendmail.exe
sendmail.ini
ssleay32.dll

README.md

NAME: Storage_Monitor.vbs

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.

INSTALLATION INSTRUCTIONS:

  1. Copy the entire "Storage_Monitor" folder into the "AutomationScripts" folder on SERVER (or any other network accesbible location).
  2. Add a scheduled task to run "Storage_Monitor.vbs" every 30 minutes.
  3. Ensure that everyone who runs the script can modify the contents of "Warning.mail" in the AutomationScripts folder and execute sendmail.exe.
  4. 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.

You can’t perform that action at this time.