powercli

Add Host to vCenter Fails With 'The name "hostname" already exists.'

Recently a colleague had an issue where they were unable to add a newly built ESXi 4.1 server to vCenter; it failed with the message ‘The name “hostname” already exists.’ However, at first glance in vCenter the hostname didn’t exist. The vCenter vpxd log contained more info, an error below: Found host with duplicate IP x.x.x.x: host-xxxxx You can track down the hostname from the host-xxxxx info with PowerCLI Get-VMHost | Where-Object {$\_.

PowerCLI Book: Kindle Version Available Again!

The question we have been asked the second most was back in April, “Why is the Kindle version more expensive than the paperback?”. At the time we went back and forth with both the publisher and Amazon and received conflicting answers. Well now that is back in the various Kindle stores again, this situation also seems to have improved and typically it is slightly less than the paperback in price.

PowerCLI: Exception of type 'System.OutOfMemoryException' was thrown

When working with PowerCLI in a large environment and retrieving large amounts of data, particularly when using the Get-View cmdlet, you may receive the following error: Get-View Exception of type ‘System.OutOfMemoryException’ was thrown Looking at the available memory on your system may cause you to wonder why you receive this error message. It may occur because you are running the 32-bit version of PowerCLI where the size of the heap is limited to 1.

PowerGUI® Pro and PowerGUI® 3.0 Released

Having been using the beta for a while, I was very pleased to see that PowerGUI V3 has been released. Some of the new features / fixes that I like the best are: Create Executable from Script One click install for PowerPacks PowerCLI 4.1 Support in the VMware PowerPack Have a look at Kirk’s site for full details http://poshoholic.com/2011/07/15/powergui-pro-and-powergui-3-0-are-now-available/

Presenting at the July 2011 London VMUG

The next London VMUG on 14th July 2011 is only a few weeks away and again looks like it will be a great event. This will be the second time it has been run as a full day event with split-track breakout sessions in the afternoon, so that there is more of a choice for those topics your are particularly interested in. There will also be a vCOPS focused lab and a Genius Bar staffed by VMware GSS to help deal with any issues you might bring along.

Upgrade ESXi from 4.0 to 4.1 with PowerCLI, including Dell ESXi Agent Upgrade

Using VMware Update Manager to upgrade ESXi from 4.0 to 4.1 is a pretty straightforward process, but what about if you need to complete other tasks as part of the upgrade. For instance, if you are running Dell Hardware then the ESXi agent also needs to be upgraded from version 6.2 supplied for ESXi 4.0 to 6.4 supplied for ESXi 4.1. You may also see some changes in advanced parameters between the two ESXi versions that you need to amend after the upgrade - I blogged about some of these before.

Appearance on vSoup Podcast Episode 8

I was lucky enough to be invited onto the vSoup virtualisation podcast to talk about the PowerCLI book. Details of what we talked about and how to win a copy of the PowerCLI book are below: " In this episode we’re honored to have Jonathan Medd as our guest! As Jonathan runs his own podcast called Get-Scripting PowerShell, he proves that not only is he a great host on his own, but a very good guest as well.

PowerCLI Book Raffle

Most projects have to start somewhere as an idea, and this one was no different. When Sybex contacted us, our idea suddenly became a reality and now after quite a journey, our book has finally arrived. Because most of the content of this book is inspired by the PowerCLI community, we decided to give something back. To celebrate the release of our book, we’re organizing a book raffle. Read the instructions below and enter the draw for a chance to win a free copy of “VMware vSphere PowerCLI Reference: Automating vSphere Administration”.

PowerCLI Book Is Go!

Last year I was fortunate enough to be invited to help out Alan Renouf and Luc Dekens with their PowerCLI book project and write a few chapters to help them keep on schedule. I was also joined by two other well known PowerCLI community members Glenn Sizemore and Arnim van Lieshout. It is often said that ‘Virtualisation is a journey’ - well writing a book about virtualisation was definitely a journey!