PowerCLI checks for vSphere Datastores

Over the last couple of days, I have posted a handful of PowerCLI scripts to check a vSphere environment. These checks have looked at general cluster level reporting, networking and virtual machines. Today I’m posting a couple of checks that look at datastores. I hope you find these checks useful.…

vSphere virtual machine checks

I’ve recently posted a series of vSphere checks based on PowerCLI. The following couple of checks apply to virtual machines. The following check looks for virtual machines where the ‘toolsUpgradePolicy’ is set to manual. I like to change this value to ‘upgradeAtPowerCycle’ which causes virtual machines (which are already running…

Quick vSphere Cluster BIOS check

The following check will compare the BIOS versions of the ESX hosts in a cluster and verify they are all at a consistent level. The check makes use of a $Clusters variable, which can be created using the following line of code: $clusters = Get-Cluster This check will look for…

Network related vSphere checks

The following two sections of code can be ran independently or used in conjunction with Alan Renouf’s vCheck script. They return network specific issues that could happen in a vSphere environment. The first check makes use of a $clusters variable, which can be created using the following line of code:…

© 2026 Enterprise Admins.org. Design inspired by the Clarity Design System. Not affiliated with or endorsed by Broadcom or VMware.