Solved

windows script to check the disk space and generate email

Posted on 2010-09-23
3
676 Views
Last Modified: 2012-05-10
anyone help me getting a script to check the disk space of remote window servers(100 servers). and notify its less than 10%.
0
Comment
Question by:mansoornazar
  • 2
3 Comments
 
LVL 65

Expert Comment

by:RobSampson
ID: 33750072
Hi, have a look at the script here to start with:
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_26330599.html

If that suits your needs, we can modify to add a threshold, and also email you.....

Regards,

Rob.
0
 
LVL 1

Author Comment

by:mansoornazar
ID: 33755068
Rob it throws me an error when i ran the script..

script:<script file path>
Line : 23
error: file not found
code: 800A0035
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 33758348
That's when it's trying to open the input file. If the computers.txt file is not in the same folder as the script, you need to specify the full path to it.

Regards,

Rob.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question