header image

Book review: VMware vSphere PowerCLI reference

Posted by: | August 3, 2011 | No Comment |

Up to now I’ve use Hal Rottenberg’s book Managing VMware Infrastructure with Windows PowerShell http://msmvps.com/blogs/richardsiddaway/archive/2010/05/09/book-review-managing-vmware-infrastructure-with-windows-powershell.aspx


There is  a new book available for managing VMware environments from PowerShell:

Title: VMware vSphere PowerCLI reference

Authors: Luc Dekens, Alan Renouf, Glenn Sizemore, Arnim van Lieshout and Jonathan Medd

Publisher: Sybex

ISBN: 978-0-470-89079-0


The book spans 740 pages including the index and contains 23 chapters:

  1. Automating vCenter Server deployment and configuration
  2. Automating vSphere Hypervisor deployment and configuration
  3. Automating Storage and Networking
  4. Using advanced vSphere Features
  5. Creating Virtual machines
  6. Using templates and customization specifications
  7. Configuring virtual machine hardware
  8. Advanced virtual machine features
  9. Using vApps
  10. backing up and restoring virtual machines
  11. Organize your disaster recovery
  12. Hardening  the vSphere environment
  13. Maintaining security in your VSphere environment
  14. Reporting the status of your Vsphere environment
  15. Using statistical data
  16. Monitoring the vSphere environment
  17. Auditing the vSphere environment
  18. Scheduling Automation scripts
  19. The SDK
  20. The Onyx project
  21. PowerGUI and vEcoShell
  22. PowerWF Studio
  23. Add a GUI front end to your automation scripts

The book starts at the very beginning with installing vCenter and vSphere. Other options than PowerShell are provided for some of the cofiguration tasks. I’m not sure that I would want to perform all of the configuration tasks from the command line but the guidance is there is you need it.

Part 2 (chapters 5-9) covers the Virtual Machine  lifecycle. Lots of godd well written scripts for creating and managing your virtual machines

I do disagree with the table on page 231 – WMI isn’t hard to learn its just difficult to find the information Smile


Part 3 (chapters 10-13)  is about security though I think most organisations will use third party backup tools rather than rely on DIY systems.  I particularly liked the chapter on DR – with so many organisations relying on virtualisation technologies knowing how to restore your systems is even more essential – though LoadwithPartialName shouldn’t have been used whats wrong with Add-Type?

Part 4 Monitoring and Reporting (14-17) is of great interest to me – I spend a lot of time capacity planning so this is the information I need

The last 6 chapters cover some of the other tools that can be used with PowerShell and the PowerCLI. This may be a dip into as needed section for  a lot of people but the authors are commended for the completeness of their coverage.

Some of the scripts are quite long so I recommend downloading the code – no I’m not telling you where it is you have to buy the book!

This is a book about VMware, written by VMware experts and shows how to manage VMware with PowerShell.  You will also pick up quite a bit of stuff about VMware itself.

Will this replace Hal’s book on my shelf.  No the two are complementary. If you use VMware I recommend you get both.

This is a book that I will be using a lot. I strongly recommend it if you are working with VMware and want to manage it with PowerShell.

Buy it. Read  It. Use it.

under: Books