Required VBscript for service status and Disk space

Home Forums Scripting General Scripting Required VBscript for service status and Disk space

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All,

    I am looking for a script(vbscript n i have got no experience in vbscript :( ) that can do the following task.

    We have a set of servers for which we need to check the disk space and service status daily. Which takes almost 1 hour or more on daily basis. Doing so make me look fool. So i need a vbscript so that i can run it against a list of servers so to get the status.

    Here is how things are setup

    I need a script that can do the following.

    Read list of the server from a file (text file or any file that can be update)

    Then write to the file following data

    Name of the server
    write to the file the drive letter or name if free disk space is less than 10% on a drive
    Write to the file the service name if the status of the service is stopped and startup type is automatic.

    The data can be write in the block for each server or any formatting would do.

    If anyone out there can help me out then i will be very grateful to them.

    Thank you

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.