Reporting the health of your vSphere environment with vCheck

In this section of the book Learning PowerCLI, I want to introduce a PowerCLI script that every vSphere admin should use. The vCheck script written by Alan Renouf can check your vSphere environment for various configuration issues and report them in an HTML format. The vCheck script reports several issues such as VMs having CD-ROMs connected, VMs with CPU or memory reservations configured, VMs ballooning or swapping, VMs with less than 100 MB free space on a disk, VMs with an old hardware version, and VMs that have no VMware Tools installed. These are just a few examples. The script reports many more issues.

The script is written in a modular way, and it uses a plugin for every check ...

Get Learning PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.