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 …
Tag 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 …
Backup vCenter Server Appliance (VCSA) 6.5 Using PowerShell
A few days ago I was asked to create a VMware vCenter Server Appliance (VCSA) version 6.5 script using PowerCli. The request was to take a daily backup and send it to a FTPS location in a separate folder per backup. I found that Brian Graf has put together VCSA backup function which was really …
Add Multiple ESXi Hosts To vCenter Server Using PowerCLi
A few days back I created a vSphere cluster with 32 ESXi hosts and I really didn’t want to add all these hosts using the UI so I decided to put together a short powercli script to manage this. The script that was tested using the following software versions: VMware vCenter Server 6.5 VMware ESXi 6.5 build 5146846 …
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 …
Verify vMotion functionality using PowerCLI
One very important thing during any environment deployment or environment expansion is to verify it actually works as expected. It has been a while since my last script blog post but i wanted to share one PowerCLI script i put together a while ago to verify vSphere vMotion functionality. The script has been very handy …
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 …