ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware vSphere PowerCLI Reference – My look

By Vladan SEGET | Last Updated: October 13, 2021

Shares

VMware vSphere PowerCLI Reference – The book – www.powerclibook.com. It's been some time that I got in my hands this book, but did not find enough time to read it… and even less time to write a review about this book. But finally I made both.

This book is all about automating. It is collaborative work of several Masters of PowerCLI: Luc Dekens, Alan Renouf, Glenn Sizemore, Arnim van Lieshout, Jonathan Medd.

First of all, I just want to repeat, that I'm not a scripting guy, but… If one needs to automate stuff, one need to make some effort and learn stuff, right? I can tell you, one does not have to fear scripting, especially if there are some GUI tools like PowerGUI to get you started….

When you're working in VMware vSphere environment, the underlying PowerCLI gives you the possibility to automate the daily tasks. One of the first taks you'd like to automate can be the vCheck Daily Report Script – from Alan Renouf's blog. But wait, I'm talking about vCheck later.

Update: There is a second release of this book which has been released. You can find it on Amazon! 

VMware vSphere PowerCLI reference

The book is more than just collection of chapters with some scripts for each of them. You get the big picture in reading the concepts behind and how it can save your daily time and maybe more. For example In the vCenter section the book teaches you how to export vCenter permissions to CSV file, which might be useful for backup purposes (you can later import those permissions to another vCenter server).

The chapter on configuring virtual machine hardware is interesting since it teaches you about how to mass-modify or mass-add hardware of your VMs. For example you want to add a second NIC to many VMs at the same time, you want a specific NIC type (choice between e1000, Flexible, Vmxnet, EnhancendVMxnet..). And at the same time you want that the NICs are connected to specified network.  You are presented with examples on how to do it …. -:). Not so difficult.

VMware vSphere PowerCLI Reference - The Book

The Chapter about Onyx is interesting. I knew about project Onyx and blogged about it already here and here. The GUI-To-PowerShell translation is impressive !

Working with PowerGUI can be interesting too, especially if when you download the PowerGUI Free Product, the vSphere Power Pack is already included -:). The PowerGUI is a graphical user interface and script editor – in one console. With PowerGUI it might be easier to start scripting because the manipulations of the snippets might be easier, and also you don't have to learn a completely new scripting language to start automate your vSphere environment.

In the book there are step-by-step examples on how to use the VMware vSphere Power Pack with PowerGUI and I think this is excellent. One of those examples is the changing a VLAN ID on multiple port groups. In the book, you'll see a step-by-step example how to do it in PowerGUI, so the book is certainly not reserved for experienced scripting guys only. The people which are not CLI guys can learn through one of those examples too.

Another example is for the vCheck Report script, which I mentioned in the beginning of my blog post. The vCheck Report script is bundled with VMware Power Pack or you can download it from Alan's blog.

I wrote about PowerGUI and vEcoShell several times, and since Quest Software recently merged vEcoShell and PowerGUI, so now only the PowerGUI get regularly updates. Note that there is a version PRO of PowerGUI available too.

With the PowerGUI and Power Packs which are available as Add-Ons to the PowerGUI interface, you can expand the scripting capabilities to Active Directory, MS Exchange 2007 and more. There is large section of PowerPacks available online.

The Home of the book is here: https://www.powerclibook.com/ – there you can find all the necessary resources, help, new scripts, add ons…

You can find many of the PowerCLI examples and scripts on Sybex website too https://www.sybex.com/go/vmwarevspherepowercliref .

iTunes: https://itunes.apple.com/us/book/vmware-vsphere-powercli-reference/id429973768?mt=11

Happy scripting… -:)

Shares
5/5 - (1 vote)

| Filed Under: Featured Tagged With: Powerclibook.com, VMware vSphere PowerCLI Reference, vSphere PowerCLI Reference

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Why NordVPN is Your Must-Have for Business Security and Personal Freedom
  • Agentless Backup Solutions for XCP-ng Hypervisor: External Vendor Options
  • Vinchin Earns Acclaimed Recognition in Gartner Peer Insights 2025 Report
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • Free Virtual Backup Appliance from StarWind – With Community Support (example configuration for ESXi and Veeam Backup)
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Veeam Backup & Replication 12.3.2 – patch critical vulnerabilities for your dataprotection environments
  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in