
Saludos, hoy os quiero presentar una utilidad para todos estos que les gusta empezar el día conociendo si su entorno VMware vSphere está correcto, o si por el contrario hay algún Snapshot pendiente, o alguna VM con una ISO o floppy adjunto, o errores a nivel de HA, etc. Se trata de vCheck vSphere, una serie de Scripts en PowerShell anidados en uno solo que nos hará la vida más sencilla:

¿Qué información recopilar y muestra vCheck vSphere?
Este conjunto de Plugins es de lo más completo que he visto en mucho tiempo, y a su vez sencillo, ya que una vez configurado nos enviará un simple mensaje de correo electrónico cada día, con toda la información, cómo podéis ver más arriba, o el mío a continuación:

[two_first]
- Detalles Generales
- Número de Hosts
- Número de VMs
- Número de Templates
- Número de Clusters
- Número de Datastores
- Número de Active VMs
- Número de Inactive VMs
- Número de Migraciones DRS Migrations de los últimos días
- Snapshots de x días de antigüedad
- Datastores con menos del x% libre
- VMs creadas los últimos x días
- VMs eliminadas los últimos x días
- VMs con No Tools
- VMs con CD-Roms conectados
- VMs con Floppy Drives conectados
- VMs con CPU ready por encima de un x%
- VMs con x vCPUs de más
- Lista de Migraciones DRS
- Hosts en Modo de Mantenimiento
- Hosts en estado desconectado
- NTP para poder sincronizar con la hora correcta
- Chequeo del servicio NTP
- Mensajes de warning vmkernel durante los últimos x días
- Errores en VC en el Visor de Events durante los últimos x días
- Errores en VC en el Visor de Events durante los últimos x días avanzados
[/two_first][two_second]
- Detalle de los servicios VMware de VC
- VMs almacenadas en datastores únicamente a un solo Host
- Alertas activas sobre VM
- Alertas activas sobre Cluster
- Si el Cluster HA Cluster está configurado para usar swapfile por datastore, hace un check de la localización del swapfile location
- Alertas activas sobre Host
- SCSI Luns con problemas
- VMs con más de x vCPUs
- vSphere check: Tamaño de Slot
- vSphere check: Hardware Virtual antiguo (menor a V7)
- VMs en carpetas incosistentes (el nombre de la carpeta no es igual que el de la VM)
- VMs con gran uso de CPU
- Chequeo del tamaño de disco a nivel de Guest VM
- Chequeo para el over commit a nivel de Memoria RAM
- VM Swap y Ballooning
- Hosts ESXi sin Lockdown habilitado
- Hosts ESXi con unsupported mode habilitado
- Información general de capacidad basada en CPU/MEM y uso de las VMs
- Puertos libres a nivel de vSwitch
- Check para overcommit de Disk
- Incidencias a nivel de configuración de Host
- VCB Garbage (snapshots pendientes)
- HA VM restarts y resets
- VMs innacesibles
[/two_second]
Descarga e instalación de vCheck vSphere
Este proyecto está disponible de manera gratuita en, la siempre útil página de Developers de VMware, Developer Center, y también en el GitHub oficial de Alan.
vChech vSphere necesita contar con los siguientes requisitos:
- PowerShell V2
- PowerCLI 5.01 or later version
- vCenter 2.5 or later version
Una vez hemos descargado el fichero, deberemos ejecutar desde la PowerCLI lo siguiente, yo recomiendo poner este Script directamente en el vCenter:
PowerCLI C:\vCheck-vSphere-master> .\vCheck.ps1 -Config
Que nos mostrará el siguiente mensaje:
Welcome to vCheck by Virtu-Al http://virtu-al.net
=================================================
This is the first time you have run this script or you have re-enabled the setup
wizard.
To re-run this wizard in the future please use vCheck.ps1 -Config
To get usage information, please use Get-Help vCheck.ps1
Please complete the following questions or hit Enter to accept the current setti
ng
After completing this wizard the vCheck report will be displayed on the screen.
Y apartir de aquí es configurar las preguntas que nos hace dependiendo de nuestro entorno, por ejemplo en mi caso os dejo mi configuración por si os puede ayudar:
[accordion]
[accordion-group title=”Ejemplo de Configuración”]
GlobalVariables
# Report header [vCheck]:
# Would you like the report displayed in the local browser once completed ? [$tr
ue]:
# Display the report even if it is empty? [$true]:
# Use the following item to define if an email report should be sent once comple
ted [true]:
# Please Specify the SMTP server address (and optional port) [servername(:port)]
[192.168.1.25]:
# Would you like to use SSL to send email? [$false]:
# Please specify the email address who will send the vCheck report [[email protected]]: [email protected]
# Please specify the email address(es) who will receive the vCheck report (separ
ate multiple addresses with comma) [[email protected]]:
# Please specify the email address(es) who will be CCd to receive the vCheck rep
ort (separate multiple addresses with comma) []:
# Please specify an email subject [$Server vCheck Report]:
# Send the report by e-mail even if it is empty? [$true]:
# If you would prefer the HTML file as an attachment then enable the following:
[$false]:
# Set the style template to use. [VMware]:
# Do you want to include plugin details in the report? [$true]:
# List Enabled plugins first in Plugin Report? [$true]:
# Set the following setting to $true to see how long each Plugin takes to run as
part of the report [$true]:
# Report on plugins that take longer than the following amount of seconds [30]:
Connection settings for vCenter
# Please Specify the address (and optional port) of the vCenter server to connec
t to [servername(:port)] [vcenter.zimbra.io]:
# Maximum number of samples to gather for events [100000]:
General Information
# Set the number of days of DRS Migrations to report and count on [1]:
# Set the number of days of Storage DRS Migrations to report and count on [1]:
Windows vCenter Error Event Logs
# Set the number of days of VC Events to check for errors [1]:
# Set the number of days of VC Event Logs to check for warnings and errors [1]:
vCenter Sessions Age
# Enter maximum vCenter session length in hours [48]:
# Enter minimum vCenter session length in minutes (IdleMinutes) [10]:
# Do not report on usernames that are defined here (regex) [DOMAIN\\user1|DOMAIN
\\user2]:
vCenter License Report
# Enable License Reporting? [$true]:
HA configuration issues
# HA Configuration Issues, do not report on any Clusters that are defined here [
Example_Cluster_*|Test_Cluster_*]:
HA VMs restarted
# HA VM restart day(s) number [5]:
DRS & SDRS Migrations
# Set the number of days of DRS Migrations to report and count on [1]:
# Set the number of days of Storage DRS Migrations to report and count on [1]:
Cluster Slot Sizes
# Number of slots available in a cluster [10]:
Datastore Consistency
# Do not report on any Datastores that are defined here (Datastore Consistency P
lugin) [local*|datastore*]:
Clusters with DRS disabled
# Clusters with DRS Disabled, do not report on any Clusters that are defined her
e [VM1_*|VM2_*]:
QuickStats Capacity Planning
# Max CPU usage for non HA cluster [0.6]:
# Max MEM usage for non HA cluster [0.6]:
s/vMotion Information
# Set the number of days to go back and check for s/vMotions [5]:
# Include vMotions in report [$true;]:
# Include Storage vMotions in report [$true;]:
DRS Rules
# Display VM affinity rules? [$true]:
# Display VM anti-affinity rules? [$true]:
# Display HOSTaffinity rules? [$true]:
Hosts Overcommit state
# Return results in GB or MB? [GB]:
NTP Name and Service
# The NTP server which should be set on your hosts [pool.ntp.org|pool2.ntp.org]:
VMKernel Warnings
# Disabling displaying Google/KB links in order to have wider message column [$t
rue]:
Syslog Name
# The Syslog server which should be set on your hosts [syslogserver]:
Disk Max Total Latency
# Disk Max Total Latency Settings in Milliseconds [50]:
# Disk Max Total Latency range to inspect (1-24) [24]:
Lost Access to Volume
# Set the number of days of Lost Action Volume to report and count on [Welcome t
o vCheck by Virtu-Al http://virtu-al.net]:
Check LUNS have the recommended number of paths
# Set the Recommended number of paths per LUN []:
ESXi Inode Exhaustion
# Set the ESXi filesystem free Inode threshold in percent [This is the first tim
e you have run this script or you have re-enabled the setup]:
Host Profile Compliance
# Show detailed information in report [wizard.]:
# Show compliant servers [$false]:
Hosts with Upcoming Certificate Expiration
# How many days to warn before cert expiration (Default 60) [To re-run this wiza
rd in the future please use vCheck.ps1 -Config]:
Datastore Information
# Set the warning threshold for Datastore % Free Space [To get usage information
, please use Get-Help vCheck.ps1]:
# Do not report on any Datastores that are defined here (Datastore Free Space Pl
ugin) [local]:
Number of VMs per Datastore
# Max number of VMs per Datastore [Please complete the following questions or hi
t Enter to accept the current setti]:
# Exclude these datastores from report [ng]:
Datastore OverAllocation
# Datastore OverAllocation % [After completing this wizard the vCheck report wil
l be displayed on the screen.]:
# Exclude these datastores from report [ExcludeMe]:
Datastores with Storage IO Control Disabled
# Do not report on any Datastores that are defined here (Storage IO Control disa
bled Plugin) [local]:
VSAN Datastore Capacity
# Set the warning threshold for VSAN Datastore % Free Space [GlobalVariables]:
VSAN Configuration Maximum Disk Group Per Host Report
# Enable VSAN Config Max Disk Group Per Host Reporting? [# Report header [vCheck
]:]:
# Percentage threshold to warn? [# Would you like the report displayed in the lo
cal browser once completed ? [$tr]:
VSAN Configuration Maximum Magnetic Disks Per Disk Group Report
# Enable VSAN Config Max Magnetic Disks Per Disk Group Reporting? [ue]:]:
# Percentage threshold to warn? [# Display the report even if it is empty? [$tru
e]:]:
VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Repo
rt
# Enable VSAN Config Max Total Magnetic Disks In All Disk Groups Per Host Report
ing? [# Use the following item to define if an email report should be sent once
comple]:
# Percentage threshold to warn? [ted [$false]: true]:
VSAN Configuration Maximum Components Per Host Report
# Enable VSAN Config Max Components Per Host Reporting? [# Please Specify the SM
TP server address (and optional port) [servername(:port)]]:
# Percentage threshold to warn? [[mysmtpserver.mydomain.local]: 192.168.1.25]:
VSAN Configuration Maximum Hosts Per VSAN Cluster Report
# Enable VSAN Config Max Hosts Per VSAN Cluster Reporting? [# Would you like to
use SSL to send email? [$false]:]:
# Percentage threshold to warn? [# Please specify the email address who will sen
d the vCheck report [me@mydomain.]:
VSAN Configuration Maximum VMs Per Host Report
# Enable VSAN Config Max VMs Per Host Reporting? [local]:[email protected]]
# Percentage threshold to warn? [# Please specify the email address(es) who will
receive the vCheck report (separ]:
VSAN Configuration Maximum VMs Per VSAN Cluster Report
# Enable VSAN Config Max VMs Per VSAN Cluster Reporting? [ate multiple addresses
with comma) [[email protected]]: [email protected]]:
# Percentage threshold to warn? [# Please specify the email address(es) who will
be CCd to receive the vCheck rep]:
Checking Standard vSwitch Ports Free
# vSwitch Port Left [ort (separate multiple addresses with comma) []:]:
Checking Distributed vSwitch Port Groups for Ports Free
# Distributed vSwitch PortGroup Ports Left [# Please specify an email subject [$
Server vCheck Report]:]:
vSwitch Security
# Enable Checking of vSwitch security settings? [# Send the report by e-mail eve
n if it is empty? [$true]:]:
# Warn for AllowPromiscuous enabled? [# If you would prefer the HTML file as an
attachment then enable the following:]:
# Warn for ForgedTransmits enabled? [[$false]:]:
# Warn for MacChanges enabled? [# Set the style template to use. [VMware]:]:
Snapshot Information
# Set the warning threshold for snapshots in days old [# Do you want to include
plugin details in the report? [$true]:]:
# Set snapshot name exception (regex) [# List Enabled plugins first in Plugin Re
port? [$true]:]:
# Set snapshot description exception (regex) [# Set the following setting to $tr
ue to see how long each Plugin takes to run as]:
# Set snapshot creator exception (regex) [part of the report [$true]:]:
Created or cloned VMs
# Set the number of days to show VMs created for [# Report on plugins that take
longer than the following amount of seconds [30]:]:
Removed VMs
# Set the number of days to show VMs removed for [5]:
VMs with over $vCPU vCPUs
# Define the maximum amount of vCPUs your VMs are allowed [2]:
VMs restarted due to Guest OS Error
# HA VM reset day(s) number due to Guest OS error [Connection settings for vCent
er]:
Guests with less than $MBFree MB
# VM Disk space left, set the amount you would like to report on MBFree [# Pleas
e Specify the address (and optional port) of the vCenter server to connec]:
# VM Disk space left, set the amount you would like to report on MBDiskMinSize [
t to [servername(:port)] [192.168.0.0]: vcenter.zimbra.io]:
Checking VM Hardware Version
# Hardware Version to check for at least [# Maximum number of samples to gather
for events [100000]:]:
#Adding filter for dsvas, vShield appliances or any other vms that will remain o
n a lower HW version [vShield*|dsva*]:
VMs in inconsistent folders
# Specify which Datastore(s) to filter from report [General Information]:
No VM Tools
# Do not report on any VMs who are defined here (regex) [# Set the number of day
s of DRS Migrations to report and count on [1]:]:
VM Tools Issues
# VM Tools Issues, do not report on any VMs who are defined here [# Set the numb
er of days of Storage DRS Migrations to report and count on [1]:]:
Removable Media Connected
# VMs with removable media not to report on [APP*|ETC*]:
Single Storage VMs
# Local Stored VMs, do not report on any VMs who are defined here [Windows vCent
er Error Event Logs]:
VM CPU %RDY
# CPU ready on VMs should not exceed [# Set the number of days of VC Events to c
heck for errors [1]:]:
VM CPU Usage
# VM Not to go over the following amount of CPU [# Set the number of days of VC
Event Logs to check for warnings and errors [1]:]:
# VM CPU not allowed to go over the previous amount for how many days? [1]:
Find VMs with thick or thin provisioned vmdk
# Report on disk formats that are not "thin" or "thick", which format is not all
owed? [thick]:
# Specify Datastores to filter from report [vCenter Sessions Age]:
Virtual machines with incorrect OS configuration
# VMs with incorrect OS Configuration, do not report on any VMs who are defined
here [# Enter maximum vCenter session length in hours [48]:]:
Powered Off VMs
# VMs not to report on [# Enter minimum vCenter session length in minutes (IdleM
inutes) [10]:]:
ue]:
# Display the report even if it is empty? [$true]:
# Use the following item to define if an email report should be sent once comple
ted [true]:
# Please Specify the SMTP server address (and optional port) [servername(:port)]
[192.168.1.25]:
# Would you like to use SSL to send email? [$false]:
# Please specify the email address who will send the vCheck report [vcenter@
midominio.com]: [email protected]
# Please specify the email address(es) who will receive the vCheck report (separ
ate multiple addresses with comma) [[email protected]]:
# Please specify the email address(es) who will be CCd to receive the vCheck rep
ort (separate multiple addresses with comma) []:
# Please specify an email subject [$Server vCheck Report]:
# Send the report by e-mail even if it is empty? [$true]:
# If you would prefer the HTML file as an attachment then enable the following:
[$false]:
# Set the style template to use. [VMware]:
# Do you want to include plugin details in the report? [$true]:
# List Enabled plugins first in Plugin Report? [$true]:
# Set the following setting to $true to see how long each Plugin takes to run as
part of the report [$true]:
# Report on plugins that take longer than the following amount of seconds [30]:
Connection settings for vCenter
# Please Specify the address (and optional port) of the vCenter server to connec
t to [servername(:port)] [vcenter.zimbra.io]:
# Maximum number of samples to gather for events [100000]:
General Information
# Set the number of days of DRS Migrations to report and count on [1]:
# Set the number of days of Storage DRS Migrations to report and count on [1]:
Windows vCenter Error Event Logs
# Set the number of days of VC Events to check for errors [1]:
# Set the number of days of VC Event Logs to check for warnings and errors [1]:
vCenter Sessions Age
# Enter maximum vCenter session length in hours [48]:
# Enter minimum vCenter session length in minutes (IdleMinutes) [10]:
# Do not report on usernames that are defined here (regex) [DOMAIN\\user1|DOMAIN
\\user2]:
vCenter License Report
# Enable License Reporting? [$true]:
HA configuration issues
# HA Configuration Issues, do not report on any Clusters that are defined here [
Example_Cluster_*|Test_Cluster_*]:
HA VMs restarted
# HA VM restart day(s) number [5]:
DRS & SDRS Migrations
# Set the number of days of DRS Migrations to report and count on [1]:
# Set the number of days of Storage DRS Migrations to report and count on [1]:
Cluster Slot Sizes
# Number of slots available in a cluster [10]:
Datastore Consistency
# Do not report on any Datastores that are defined here (Datastore Consistency P
lugin) [local*|datastore*]:
Clusters with DRS disabled
# Clusters with DRS Disabled, do not report on any Clusters that are defined her
e [VM1_*|VM2_*]:
QuickStats Capacity Planning
# Max CPU usage for non HA cluster [0.6]:
# Max MEM usage for non HA cluster [0.6]:
s/vMotion Information
# Set the number of days to go back and check for s/vMotions [5]:
# Include vMotions in report [$true;]:
# Include Storage vMotions in report [$true;]:
DRS Rules
# Display VM affinity rules? [$true]:
# Display VM anti-affinity rules? [$true]:
# Display HOSTaffinity rules? [$true]:
Hosts Overcommit state
# Return results in GB or MB? [GB]:
NTP Name and Service
# The NTP server which should be set on your hosts [pool.ntp.org|pool2.ntp.org]:
VMKernel Warnings
# Disabling displaying Google/KB links in order to have wider message column [$t
rue]:
Syslog Name
# The Syslog server which should be set on your hosts [syslogserver]:
Disk Max Total Latency
# Disk Max Total Latency Settings in Milliseconds [50]:
# Disk Max Total Latency range to inspect (1-24) [24]:
Lost Access to Volume
# Set the number of days of Lost Action Volume to report and count on [Welcome t
o vCheck by Virtu-Al http://virtu-al.net]:
Check LUNS have the recommended number of paths
# Set the Recommended number of paths per LUN []:
ESXi Inode Exhaustion
# Set the ESXi filesystem free Inode threshold in percent [This is the first tim
e you have run this script or you have re-enabled the setup]:
Host Profile Compliance
# Show detailed information in report [wizard.]:
# Show compliant servers [$false]:
Hosts with Upcoming Certificate Expiration
# How many days to warn before cert expiration (Default 60) [To re-run this wiza
rd in the future please use vCheck.ps1 -Config]:
Datastore Information
# Set the warning threshold for Datastore % Free Space [To get usage information
, please use Get-Help vCheck.ps1]:
# Do not report on any Datastores that are defined here (Datastore Free Space Pl
ugin) [local]:
Number of VMs per Datastore
# Max number of VMs per Datastore [Please complete the following questions or hi
t Enter to accept the current setti]:
# Exclude these datastores from report [ng]:
Datastore OverAllocation
# Datastore OverAllocation % [After completing this wizard the vCheck report wil
l be displayed on the screen.]:
# Exclude these datastores from report [ExcludeMe]:
Datastores with Storage IO Control Disabled
# Do not report on any Datastores that are defined here (Storage IO Control disa
bled Plugin) [local]:
VSAN Datastore Capacity
# Set the warning threshold for VSAN Datastore % Free Space [GlobalVariables]:
VSAN Configuration Maximum Disk Group Per Host Report
# Enable VSAN Config Max Disk Group Per Host Reporting? [# Report header [vCheck
]:]:
# Percentage threshold to warn? [# Would you like the report displayed in the lo
cal browser once completed ? [$tr]:
VSAN Configuration Maximum Magnetic Disks Per Disk Group Report
# Enable VSAN Config Max Magnetic Disks Per Disk Group Reporting? [ue]:]:
# Percentage threshold to warn? [# Display the report even if it is empty? [$tru
e]:]:
VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Repo
rt
# Enable VSAN Config Max Total Magnetic Disks In All Disk Groups Per Host Report
ing? [# Use the following item to define if an email report should be sent once
comple]:
# Percentage threshold to warn? [ted [$false]: true]:
VSAN Configuration Maximum Components Per Host Report
# Enable VSAN Config Max Components Per Host Reporting? [# Please Specify the SM
TP server address (and optional port) [servername(:port)]]:
# Percentage threshold to warn? [[mysmtpserver.mydomain.local]: 192.168.1.25]:
VSAN Configuration Maximum Hosts Per VSAN Cluster Report
# Enable VSAN Config Max Hosts Per VSAN Cluster Reporting? [# Would you like to
use SSL to send email? [$false]:]:
# Percentage threshold to warn? [# Please specify the email address who will sen
d the vCheck report [me@mydomain.]:
VSAN Configuration Maximum VMs Per Host Report
# Enable VSAN Config Max VMs Per Host Reporting? [local]: [email protected]]
:
# Percentage threshold to warn? [# Please specify the email address(es) who will
receive the vCheck report (separ]:
VSAN Configuration Maximum VMs Per VSAN Cluster Report
# Enable VSAN Config Max VMs Per VSAN Cluster Reporting? [ate multiple addresses
with comma) [[email protected]]: [email protected]]:
# Percentage threshold to warn? [# Please specify the email address(es) who will
be CCd to receive the vCheck rep]:
Checking Standard vSwitch Ports Free
# vSwitch Port Left [ort (separate multiple addresses with comma) []:]:
Checking Distributed vSwitch Port Groups for Ports Free
# Distributed vSwitch PortGroup Ports Left [# Please specify an email subject [$
Server vCheck Report]:]:
vSwitch Security
# Enable Checking of vSwitch security settings? [# Send the report by e-mail eve
n if it is empty? [$true]:]:
# Warn for AllowPromiscuous enabled? [# If you would prefer the HTML file as an
attachment then enable the following:]:
# Warn for ForgedTransmits enabled? [[$false]:]:
# Warn for MacChanges enabled? [# Set the style template to use. [VMware]:]:
Snapshot Information
# Set the warning threshold for snapshots in days old [# Do you want to include
plugin details in the report? [$true]:]:
# Set snapshot name exception (regex) [# List Enabled plugins first in Plugin Re
port? [$true]:]:
# Set snapshot description exception (regex) [# Set the following setting to $tr
ue to see how long each Plugin takes to run as]:
# Set snapshot creator exception (regex) [part of the report [$true]:]:
Created or cloned VMs
# Set the number of days to show VMs created for [# Report on plugins that take
longer than the following amount of seconds [30]:]:
Removed VMs
# Set the number of days to show VMs removed for [5]:
VMs with over $vCPU vCPUs
# Define the maximum amount of vCPUs your VMs are allowed [2]:
VMs restarted due to Guest OS Error
# HA VM reset day(s) number due to Guest OS error [Connection settings for vCent
er]:
Guests with less than $MBFree MB
# VM Disk space left, set the amount you would like to report on MBFree [# Pleas
e Specify the address (and optional port) of the vCenter server to connec]:
# VM Disk space left, set the amount you would like to report on MBDiskMinSize [
t to [servername(:port)] [192.168.0.0]: vcenter.zimbra.io]:
Checking VM Hardware Version
# Hardware Version to check for at least [# Maximum number of samples to gather
for events [100000]:]:
#Adding filter for dsvas, vShield appliances or any other vms that will remain o
n a lower HW version [vShield*|dsva*]:
VMs in inconsistent folders
# Specify which Datastore(s) to filter from report [General Information]:
No VM Tools
# Do not report on any VMs who are defined here (regex) [# Set the number of day
s of DRS Migrations to report and count on [1]:]:
VM Tools Issues
# VM Tools Issues, do not report on any VMs who are defined here [# Set the numb
er of days of Storage DRS Migrations to report and count on [1]:]:
Removable Media Connected
# VMs with removable media not to report on [APP*|ETC*]:
Single Storage VMs
# Local Stored VMs, do not report on any VMs who are defined here [Windows vCent
er Error Event Logs]:
VM CPU %RDY
# CPU ready on VMs should not exceed [# Set the number of days of VC Events to c
heck for errors [1]:]:
VM CPU Usage
# VM Not to go over the following amount of CPU [# Set the number of days of VC
Event Logs to check for warnings and errors [1]:]:
# VM CPU not allowed to go over the previous amount for how many days? [1]:
Find VMs with thick or thin provisioned vmdk
# Report on disk formats that are not "thin" or "thick", which format is not all
owed? [thick]:
# Specify Datastores to filter from report [vCenter Sessions Age]:
Virtual machines with incorrect OS configuration
# VMs with incorrect OS Configuration, do not report on any VMs who are defined
here [# Enter maximum vCenter session length in hours [48]:]:
Powered Off VMs
# VMs not to report on [# Enter minimum vCenter session length in minutes (IdleM
inutes) [10]:]:
Unwanted virtual hardware found
# Find unwanted virtual hardware [# Do not report on usernames that are defined
here (regex) [DOMAIN\\user1|DOMAIN]:
Mis-named virtual machines
# Misnamed VMs, do not report on any VMs who are defined here [\\user2]:]:
VM - is my network connected?
# Only show NICs that are set to Connect at Startup [$true]:
Reset VMs
# Set the number of days to show reset VMs [vCenter License Report]:
Snapshot activity
# Set the number of days to show Snapshots for [# Enable License Reporting? [$tr
ue]:]:
# User exception for Snapshot removed [s-veeam]:
VMs with CPU or Memory Reservations Configured
# VMs with CPU or Memory Reservations, do not report on any VMs who are defined
here [HA configuration issues]:
VM Logging
# The number of logs to keep for each VM [# HA Configuration Issues, do not repo
rt on any Clusters that are defined here []:
[/accordion-group]
[/accordion]
Después del asistente nos solicitará las credenciales de VMware vSphere y del usuario local para poder acceder al Visor de Eventos, esto es opcional y si no lo introducimos tampoco perderemos mucho.

Os dejo aquí un ejemplo en HTML
Usos prácticos, ejemplo con ISOS conectadas
Por ejemplo, en el reporte podremos ver las VM que tienen ISOS o floppies conectadas, y que nos darán problemas a la hora de realizar HA y vMotion.

Pasos para la instalación, vídeo en Inglés
El autor nos deja las instrucciones en Inglés, aunque el vídeo no corresponde al 100% con el Script más reciente, puede ayudar:
Programar el Script
Ya solamente nos queda configurar una tarea programada que nos ejecute el vCheck.ps1 (sin el -Config) cada mañana en el vCenter, y nos llegará un cómodo y útil a la dirección de correo, o direcciones, que queramos, para poder revisar nuestro entorno, o el de nuestros clientes, mientras tomamos el café o el zumo, sin ningún problema.
Espero que os guste y os resulte útil.

Muy útil este artículo. saludos y gracias
Yo lo estoy utilizando desde hace unos dias y me parece muy completo, lo unico que he visto que no funciona bien son los reportes a nivel de redes SW virtuales, NICS, portgroups etc
se puede visualizar el espaio libre en disco y el espacio utilizado asi como los servicios que corren en las VMs?
Saludos David,
Te refieres al espacio en disco de las VM? O de los ESXi? O de vCenter?
Un saludo
Hola Jorge,
Gracias por la informacion.
Vmware brinda soporte a vCheck?
Grx
Saludos Kevin,
Al ser un script de la comunidad, no creo, pero tampoco es que haya nada complicado en el script, todo son llamadas usando la API 🙂
Un saludo
La herramienta es libre o necesita alguna licencia?
Saludos Arturo, descargar y ejecutar.
Un saludo