Quick note to let you know that VMware PowerCLI version 12.3 was released last week, to be more specific April 8th. I trust most of you knows that PowerCLI is built is a tool built on Windows PowerShell and used for command line management and or scripting purposes. The new release is 12.3 is a …
Category Archive: PowerCLI
VMware PowerCLI 11.4.0 Released
Just a quick note to let you know that VMware just released a new version of PowerCLI which is tool built on Windows PowerShell and used for command line management or scripting purposes. The new release is 11.4.0 and this dot release comes with the following enhancements: Support for Horizon View 7.9 Storage module – …
VMware PowerCLI 11.2.0 Released
Just a quick note to let you know that VMware just released VMware PowerCLI 11.2. This dot release comes with quite a few improvements: VMware HCX – New module NSX-T Policy Services support OAuth based connectivity support to vCenter Server – Right now only for GovCloud instances of VMware Cloud on AWS Storage module cmdlets updated …
VMware PowerCLI 11.0.0 Released
Just a quick note to let you know that VMware just released VMware PowerCLI 11.0.0. In my opinion the most valuable updates are support for: Horizon View 7.6 vSphere 6.7 Update 1 vCloud Director 9.5 NSX-T 2.3 There are many more updates and changes in this release such as: New Security module Cmdlets for Host …
Install Microsoft PowerShell Core 6.0.1 and VMware PowerCLI 10.0.0 On macOS
Really good news for all Linux & MacBook users out there. A while back Microsoft released Microsoft PowerShell for Linux and MacOS and yesterday, 2018.02.28, VMware released VMware PowerCLI 10.0.0, formerly known as vSphere PowerCLI, and it also supports both platforms. To be able to run VMware PowerCLI on your MacBook you first need to …
Disable ESXi host firewall ports using PowerCLI
Updated 2017-07-06 to match ESXi 6.5 FW Rule names One thing i do for the majority of my vSphere implementations, today and previous over the years, has been to disable ESXi firewall ports not being used. There are at least a few, not always the same though, ports that will never be used no matter …
Upgrade ESXi 5.5 to ESXi 5.5 U1 using HP image fails
Before i start an upgrade i usually run two commands just to verify what build number my ESXi host currently uses and what image my ESXi host currently uses: vmware -v – shows the build number esxcli software profile get – shows the image name and in my case the result before the upgrade was: …
vSphere VM vCPU to ESXi host pCPU core allocation
There has been quite a lot of discussion regarding resource utilization and resource allocation in vSphere environments lately. There are a lot of tools around doing analysis (some better than others) of your environment and gives suggestions if you need to e.g.: Add more resources (CPU, RAM, Disk, Network) to your vSphere cluster. Down size …
Create multiple VMs from existing vSphere VM using PowerCLI
I recently published the blog post “Create multiple VMs using PowerCLI” and as i mentioned in the post i thought the next request would be a PowerCLI script to create multiple VMs from an existing vSphere virtual machine (VM). It just took a few days before the request reached my email inbox. I actually received a few …
Create multiple VMs using PowerCLI
A couple of days ago i received a request from a customer asking for a PowerCLI script to create VMs. There were a couple of requirements for the script. Specify the number of VMs to be created. The VMs must be powered on after the creation. The VMs must be placed on all ESXi hosts …
ESXi host VMkernel.Boot.terminateVMOnPDL configuration using PowerCLI
I have already written a blog post about how you can configure the ESXi host setting disk.terminateVMOnPDLDefault in vSphere version 5.1. You can find that blog post here. I have received a couple of questions about how to configure the setting, called VMkernel.Boot.terminateVMOnPDL, in ESXi 5.5 so i decided to put together a blog post about it. …
ESXi 5.1 VMFS HeapSize configuration using PowerCLI
There are a few of my customer still running vSphere 5.1 U1 and one of them reported an issue related to the VMFS Heap Size (VMFS3.MaxHeapSizeMB) configuration a few days ago. Keep in mind that my customer upgraded to U1 from a previous vSphere 5.1 version meaning that the old VMFS3.MaxHeapSizeMB was retained at 80 MB …
Backup the virtual machine configuration file (.vmx) using PowerCLI
For those of you using a backup and restore solution based on a software backup and restore client installed in each virtual machine it is a good idea to secure the virtual machine configuration file, the .vmx file. Backing up the data from within the virtual machine is not enough for making a restore process …
Backup vSphere vNetwork Distributed Switches using PowerCLI
A few weeks ago a customer asked me how to automate the export of the vSphere vNetwork Distributed Switches (VDS) configuration. Their existing routine included to make a manual export of the VDS configuration whenever a VDS change was implemented including adding or removing a VDS port group. In the vSphere Web Client you can …
Update vSphere DRS rules using PowerCLI
I was asked by one customer last week to create a script that adds virtual machines to a vSphere DRS group, “VM DRS Group”, based on virtual machine guest operating. My customer runs vSphere 5.1 and a licensing issue was the underlying cause of the request. My customer have two vSphere clusters running 16 ESXi …