Tag Archives: vsphere

PowerShell script to get VMs and their datastores from an offline VMware ESXi host via vCenter

I recently had the local storage controller fail in one of my ESXi hosts. The host carried on running, and the VMs on it carried on running, but it wasn’t very happy. It was unresponsive via the vSphere client, and … Continue reading

Rate this:

Posted in PowerShell, vSphere | Tagged , , , , , , , , | Leave a comment

Convert Hyper-V VM vhdx to VMware vSphere vmdk

This turned out to be pretty simple, if pretty slow. I was converting from a Hyper-V 2012 R2 VM into vSphere 5.0. The VM itself was also running Windows Server 2012 R2. There are a few steps and points to … Continue reading

Rate this:

Posted in Hyper-V, Storage, vSphere, Windows | Tagged , , , , , , , , , , , , , | 2 Comments

Find vSphere VM locations: Folder, vApp and Resource Pool

The vSphere client doesn’t seem to give you a nice overview where you can see all the location data about your virtual machines. You can see the Folder and vApp by expanding all the branches in the VMs & Templates view, … Continue reading

Rate this:

Posted in PowerShell, Scripting, vSphere | Tagged , , , , , , , , , , , , , , | Leave a comment

Search for VMware RDMs

A storage admin recently asked me if a couple of LUNs were still in use. They had very little info about them, but knew they were presented to the vSphere hosts. So I wrote a quick script to find all … Continue reading

Rate this:

Posted in PowerShell, Scripting, vSphere | Tagged , , , , , , , , , , | Leave a comment

VMware resource reservations and HA

vSphere HA is the feature that restarts VMs from a failed host on another host in your HA cluster. Brutal, but if a host dies in the middle of the night it might be better than leaving all the VMs … Continue reading

Rate this:

Posted in PowerShell, vSphere | Tagged , , , , , , , , , | Leave a comment

Get VMware VM creation date (kind of)

VMware vSphere doesn’t seem to keep the VM creation date in its database anywhere, but if your VMs are all/mostly running Windows (and you have permission to do a WMI query against them) you can get the OS install date, … Continue reading

Rate this:

Posted in PowerShell, vSphere, Windows | Tagged , , , , , , , , , | 10 Comments

vSphere: Convert RDM to VMDK and vice-versa on Windows VM with no downtime

This method will work for non-OS disks (so not your C drive), and will not require the server or application to go down during the process. You need a version of Windows that supports software RAID, which includes all versions … Continue reading

Rate this:

Posted in Storage, vSphere, Windows | Tagged , , , , , , , , , , , , , , , | 6 Comments

Bye-bye SAN, Hello Tintri

I first came across Tintri over a year ago, had a look at their product on their website and thought “this sounds rather good”. I’ve chatted to them at IP Expo for the last two years, and recently had a WebEx with a … Continue reading

Rate this:

Posted in Hardware, Storage, vSphere | Tagged , , , , , , , , , , , , , , , , , , , | 4 Comments

Host disconnected in vSphere client II

Here’s another nice vSphere issue, and how to fix it. One of my ESXi 5.0 hosts was showing as disconnected in vSphere client. I tried to reconnect to it by using the right-click Connect option. This took a while, then … Continue reading

Rate this:

Posted in vSphere | Tagged , , , , , , , | 2 Comments

Active Directory authentication for ESXi host management

This was not as straightforward as I’d hoped. Apparently (see video – ugh, why not bullet points?), you just add the host to AD, create an Active Directory security group called ESX Admins, stick the users in the group and voila, … Continue reading

Rate this:

Posted in vSphere | Tagged , , , , , , , , , , | 2 Comments