Setup a Windows XP appliance …

Categories: ESXi, Ideas, PowerShell, Scripts, VMware

Currently I setup a Windows XP appliance which I would like to use for a new way to manage a VMware ESXi plattform. A colleague had this idea to create an interface to manage ESXi free server’s from any kind of CMS. Some details: OS: Windows XP Software: Apache, PHP, Powershell, VMware PowerCLI, JSON for […]

Count VM’s on ESX host

Categories: PowerShell

This one-liner will count all VM’s on a ESX host Get-VMHost -Server xxx.xxx.xxx.xxx | Select Name,@{N=”NumVM”;E={($_ |Get-VM -Server xxx.xxx.xxx.xxx | where {$_.PowerState -eq “PoweredOn”}).Count}} Coding for usage with the VESI: $noConnection = $true if ($global:vmwareManagedHosts) { foreach ($key in @($global:vmwareManagedHosts.Keys)) { if (($managedHost = $global:vmwareManagedHosts[$key]) -and ($managedHost.Connected)) { $noConnection = $false Get-VMHost -Server $managedHost.connection | […]

Welcome on xmsoft.de

Categories: VMware

Welcome to xmsoft.de. You will find here ideas, scripts, knowledge about virtualization