VMWare

Fix VMware Missing HBA Adapters

by File in: VMWare

Every once in a while we run into a big problem when we install a brand new ESXi server only to come to find that for some reason we don’t see any HBA adapters, even though we’ve used the customized image with all the drivers and so forth. I usually see this happening in HP […]

VMware Script – Remove Resource Reservations

by File in: VMWare

In this article we’ll go over the following script that helps us remove resource reservations from all VMs within a VMware cluster. Here is the script that we are going to use: #Variable Declaration Param( [string]$server, [Parameter(Mandatory=$true)][string]$username, [Parameter(Mandatory=$true)][string]$password, [string]$cluster ) #Module Initialization Add-PSSnapin VMware.VimAutomation.Core #Body Connect-VIServer -Server $server -Username $username -Password $password $vms = Get-Cluster […]

VMware Script – List Empty Resource Pools

by File in: VMWare

In this article we will go over a simple script that lists all the empty resource pools in a VMware Cluster. This script comes in handy and is a very nice addition to any scripting repository where there are large VMware deployments. #Variable Declaration Param( [Parameter(Mandatory=$true)][string]$server, [Parameter(Mandatory=$true)][string]$username, [Parameter(Mandatory=$true)][string]$password, [Parameter(Mandatory=$true)][string]$cluster ) #Module Initialization Add-PSSnapin VMware.VimAutomation.Core Connect-VIServer […]

VMware PowerCLI – Copy Port Groups Script

by File in: VMWare

In case you didn’t see my last article about automating the creation of Port Groups in an enterprise VMware environment, I highly recommend you do, since this second script is all about copying the existing Port Groups from one host to a new one. This is useful when we are adding a new host to […]

VMware PowerCLI – Create Port Groups Script

by File in: VMWare

Hello and welcome to all VMware admins. For the few of us who have an enterprise scale VMware environment with hundreds of VLANs and servers, setting up a new VLAN on all our ESXi hosts can be a daunting task. That’s why I came up with this script that will make our life easier and […]

How to Expand VMware ESXi Datastore Capacity

by File in: VMWare

After setting up a new installation of ESXi on my refurbished Dell PowerEdge server, I realized that the datastore was only using two of the six SAS drives installed on the system. This was because two of the drives were in a RAID 1 configuration and the other four drives were in a RAID 5 […]

How to Add a License Key to VMware ESXi

by File in: VMWare

Once you have installed VMware ESXi onto a server, you’ll need to add your license key via the web interface. Otherwise, you’ll only be using the trial version, which lasts for 60 days. If you’re downloading the free version of ESXi, you can get the license key by visiting the evaluation page for ESXi. You will […]

How to Configure VMware ESXi with a Static IP Address

by File in: VMWare

Once you have installed VMware ESXi onto a server, you will probably want to give it a static IP address rather than using DHCP. There are two ways you can configure ESXi with a static IP: either via the web GUI interface or via the server console management screen. I found it a lot easier […]

How to Upload VMware Workstation VM to ESXi Server

by File in: VMWare

I’ve been using VMware Workstation on my personal PC for quite a few years, but I was having one big issue: the virtual machines were simply taking up too much space. I use an SSD on my personal computer, but the drive isn’t that large. With only three VMs on my local machine, it was […]

Install ESXi from USB on Bare Metal PowerEdge Server

by File in: VMWare

In my previous post, I went through the steps for creating a bootable USB installer for ESXi and in this post, I’m going to walk you through the steps for installing ESXi from USB to a bare metal Dell PowerEdge server. As mentioned in my previous post, you can install using an optical drive, remotely […]