Solved

windows script to check the disk space and generate email

Posted on 2010-09-23
3
677 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In this video we show how to create a mailbox database 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 Servers >> Data…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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