Category Archives: VMware

Quick Fix – VMware WS: Windows cannot find the Microsoft Software License Terms.

Had a little issue when trying to install a fresh Windows Server 2016 vm in my lab today. I don’t install many Windows guests at home (mostly Linux) but had never had an issue on older builds. Setup: VMware Workstation Pro 12.5.6 build-5528349 Windows Build: 14393.rs1 This was installing off the current iso and and I had all default settings. After… Read more »

Quick Fix-VMware Workstation- The user did not accept the license agreement by passing EULAS_AGREED=1 on the command line

One of the nice benefits of being a vExpert is the licenses kindly provided to various VMware apps including VMware Workstation. After receiving the codes this year and downloading the latest version, it should have been a simple process to install, right ? Dbl-Click, next, next, next…. ? Moments after confirming the UPGRADE dialog, i was surprised to see a warning;… Read more »

ESXi 5.5 – Automating VMFS UNMAP w/ PowerCLI and PowerShell

With vSphere 6.5 recently released, a nice feature was the automated execution of the UNMAP command against thin provisioned datastores to reclaim space. This requires no user interaction, it’s fully automated for you and can free up significant amounts of space from your datastores. There’s some good information regarding the v6.5 release  on these blogs; ESX Virtualization Vladan Seget VirtualizationIsLife  Anthony… Read more »

VMware DRS rule manipulation using PowerCLI (EMC VPLEX use case) Part 1.

VPLEX is another of my favourite products,  and for good reason. I currently run a Metro cluster underneath a VMware platform that has proven to be super reliable. One important design consideration for this is to ensure that VM’s are configured for site bias. Why ? Glad you asked. In a VPLEX Metro configuration, a VPLEX detach rule is defined… Read more »

ESXi – Removing a stubborn Nexus 1000v VIB

      No Comments on ESXi – Removing a stubborn Nexus 1000v VIB

Happened upon an unusual error while wrestling a Nexus 1000v out of a ESXi 5.1 host. All seemed to progress well, the host was removed from the dvs without issue.  The next step was to remove the Cisco vem VIB from the host in preparation for upgrade. esxcli software vib remove -n cisco-vem-150-esx  (or whatever vib name you are removing… Read more »

VMware ESXi – Get VM’s by VLAN ID with PowerCLI

Often when when working in large environments you’ll get interesting requests. These may be to assist in troubleshooting, auditing, reporting or any other reason. I was recently requested to provide a list of mac addresses for every VM with a vNIC in a specific vlan. I had a feeling this was going to be a repeated request (for various vlans) so presented… Read more »

EMC VNX – Self Help using “MyDocs”

      No Comments on EMC VNX – Self Help using “MyDocs”

I’m a big believer in “helping yourself”. By researching and actually doing things, we learn, grow and become more self-sufficient. I’ve blogged before about what I sometimes refer to as hidden gems, in particular MiTrend. There are other tools from EMC that are very useful. The first is My Documents (MyDocs), which is targeted at VNX (1&2) users,  and for… Read more »

VMware ESXi,Nexus 1000v: Add New vDS Port-Group + error “spec.numPorts exceeds the limit..”

If you’re familiar with Cisco IOS and networking in general, creating a new PortGroup on a Nexus1000v is pretty straightforward. Here I’m going to add a new Port-Profile, of type ‘vmware port-group‘ called “VM_Prod_29” with VLAN ID “29 “. Login to the active VSM and first create the VLAN;

Then create the Access PortGroup and assign VLAN 29 to it…. Read more »

VMware NSX VCA-NV… So what ?

      2 Comments on VMware NSX VCA-NV… So what ?

There’s no doubt Software Defined  everything is big right now, and VMware NSX is probably King of the Hill. It’s a big focus of Vendor Roadshows and Tech Community events, and rightly so. As a customer, it’s not easy to get experience on such a platform. But as an influencer, architect and admin of my organization, when the CIO or… Read more »

VMware PowerCLI – What are you waiting for ?

I still talk to people who are reluctant to jump in and learn some basic scripting techniques. Usually their response is that it’s easy in the gui or “scripting is hard” or the “I’m not a developer so why bother ?”. Meh, make it happen. The facts is, learning some basic scripting techniques will save you considerable time and open up… Read more »