Skip to content

Category Archives: VMware

PowerShell script to check ESX patch status

06-Apr-07

You can use the simple PowerShell script below to check ESX server patching status from your Windows client. Requirements:

.NET Framework 2.0
PowerShell v1.0
plink.exe (from the Putty download page) in your path
An account and password to remotely connect over SSH and execute the command esxupdate query.
Change the $servers array with your servers and also update the $account and […]

Getting VMFS datastore information with PowerShell

01-Mar-07

Well, actually, I should add “and a bit of Perl” to the title. But first, let me explain the idea behind the script. It is a simple script for administrators of VMware Infrastructure to do some reporting on the VMFS datastores in a datacenter. It does some things like calculating the total percentage of free […]