How to run VMware vSphere CLI perl scripts from PowerCLI

PowerCLI logoWith the announced VMware vSphere version 5.0, ESX servers will be history. Only ESXi servers are left over. And as you might now, the main difference between ESX and ESXi is the service console that ESX has and is removed from ESXi.

To be able to manage ESXi servers, VMware is promoting the VMware vSphere Command-Line Interface (vCLI). And also the vSphere Management Assistant, which is a Linux virtual appliance with the vCLI installed in it. There is also a Microsoft Windows version of the vCLI. That runs in a Windows Command Prompt.

As a PowerShell user I don´t like writing scripts for the Command Prompt anymore. Wouldn’t it be nice if we could run the vCLI commands from PowerCLI? Read more of this post

Advertisements

How to use VMware vSphere PowerCLI to find an ESX/ESXi server by MAC address

PowerCLI logoIn “Virtual machine failed to power on” Monique Vanmeulebrouk describes a problem where in one stage she needed to find an ESX server that has a certain MAC address. Of course you can log in to all your ESX servers and issue the “ifconfig | grep -i hw” command as described in the VMware Knowledge base article “Identifying the ESX Service Console MAC address”. But this method takes a lot of time. You can do this much easier with VMware vSphere PowerCLI. Read more of this post