What is the installation use of Vcheck and Vcheck

Source: Internet
Author: User
Tags dot net dot net framework

"What is Vcheck?"

Vcheck is a PS script written by Virtu-al, designed to monitor the working status of the VMware Esx/vsphere, which runs on a regular basis through the Windows scheduled task and reports the results of the operation to the administrator via e-mail.

This is a great script! Isn't it?

Click here to Virtu-al's blog to see the list of Vcheck features

"How to install using Vcheck"

The first step is to ensure that the dot NET Framework 2.0 is installed. If not, please put it in first.

The second step is to install Windows PowerShell 2.0

Download Address: http://support.microsoft.com/kb/968929

Step three Install Powercli

The current latest version is Powercli 4.0u1. You can go here to download: http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli

POWERCLI is a Windows PowerShell plugin that includes more than 150 cmdlet. Vcheck is a script based on POWERCLI.

Step Fourth Download VCheck5 script

Download from here (right-click to save Target as ...), save it to the C:\Scripts directory (you can also save it elsewhere). It is highly recommended that you carefully read Alan's blog so that you can fully understand the script.

Step Fifth Modify the VCheck5 script

There are a few that must be modified.

(1) After a large version of the annotation, add this sentence:

Add-pssnapin VMware.VimAutomation.Core

The purpose of this script is to tune into the VMware cmdlet.

(2) Modify the SMTP server, modify the message sender, recipient.

# You can change the following defaults by altering the below settings:

#

# Set the SMTP Server address

$SMTPSRV = "Mysmtpserver.mydomain.local"

# Set The Email address to recieve from

$EmailFrom = me@mydomain.local

# Set The email address to send the email to

$EmailTo = me@mydomain.local

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.