
How To Create Virtual Machines With VMware ESXi 7 GUI and PowerCLI
Following on from our last VMware ESXi 7 tutorial where we guided you through the installation and setup of ESXi 7, we now take a look at creating virtual machines.
Following on from our last VMware ESXi 7 tutorial where we guided you through the installation and setup of ESXi 7, we now take a look at creating virtual machines.
I saved a tweet a while back from William Lam about the ability to send keystrokes to a VM via PowerCLI. The first thing that popped into mind is “Automating a nested ESXi installation”. As you could imagine this would be extremely convenient in spinning up a new VMware Lab.
There might be a time when your network team asks you to check on a MAC address coming from your virtualization infrastructure this could be for a number of reasons. Or you have the MAC address of a virtual machine and have no idea which virtual machine the MAC address belongs to. If your environment is small it shouldn’t be too hard to do this via one of the GUI tools, VMware vCenter or Microsoft SCVMM tools.
With vSphere 5.5 there is the option to update the virtual machine hardware to version 10. Unfortunately there is no way via the gui to update only to version 9. Why would you want to do this ? Because after upgrading the virtual machine to version 10 you can not longer edit the settings of the virtual machine in the vSphere Client, you can only edit the settings via the web client.
With vSphere 5.5 and the ability to upgrade your virtual machine hardware to version 10, you may of seen this error before if you have tried to use the vSphere Client to edit the settings of a Virtual Machine with Hardware Version 10:
I’ve come across this error message a few times now when running VMware PowerCLI scripts, especially the command wait-tools. The exact error that I receive is:
I’ve put together a VMware PowerCLI Pocket Guide with everyday commands that I use. I will continuously update this pocket guide with new commands and examples. The tutorial can be found here:
I have put together this VMware PowerCLI Pocket Guide with the commands I use daily. I will constantly keep adding commands to this page. If you have some nice PowerCLI scripts that you wish to share on this page, please contact me.
1. Make sure you have downloaded the ESXi 5 upgrade bundle and the Cisco Nexus1000v software. In this tutorial I’m using VMware Upgrade Image 5.0 with Update 1 update-from-esxi5.0-5.0_update01.zip and the Cisco Nexus1000v version 4.2(1) SV(1)5.1 VEM500-201201140102-BG-release.zip
Copyright © 2020