###########################################################################################
# Title: VMware health check
# Filename: healtcheck.sp1
# Created by: Ivo Beerens ivo@ivobeerens.nl
# Date: 28-08-2008
# Version 1.3
###########################################################################################
# Description: Scripts that checks the status of a VMware
# enviroment on the following point:
# - VMware ESX server Hardware and version
# - VMware VC version
# - Active Snapshots
# - CDROMs connected to VMs
# - Floppy drives connected to VMs
# - Datastores and the free space available
# - VM information such as VMware tools version,
# processor and memory limits
# - Witch VMs have VMware timesync options not
# enabled
###########################################################################################
# Configuration:
#
# Edit the powershell.ps1 file and edit the following variables:
# $vcserver="localhost"
# Enter the VC server, if you execute the script on the VC server you can use localhost
# $filelocation="D:\temp\healthcheck.htm"
# Specify the path where to store the HTML output
# $enablemail="yes"
# Enable (yes) or disable (no) to sent the script by e-mail
# $smtpServer = "mail.ictivity.nl"
# Specify the SMTP server in your network
# $mailfrom = "VMware Healtcheck
# Specify the from field
# $mailto = "ivo.beerens@ictivity.nl"
# Specify the e-mail address
###########################################################################################
# Usage:
#
# Manually run the healthcheck.ps1 script":
# 1. Open Powershell
# 2. Browse to the directory where the healthcheck.ps1 script resides
# 3. enter the command:
# ./healthcheck.ps1
#
# To create a schedule task in for example Windows 2003 use the following
# syntax in the run property:
# powershell -command "& 'path\healthcheck.ps1'
# edit the path
##########################################################################################
Comments |
|
There are no comments on this document |