Listing Virtual Machines and Portgroups

vSphere 5.0 – If you need a list of Virtual Machines and the portgroups they are attached to:

If you need to export this to a CSV:

Getting a vSphere VM’s Network Adapters

Getting all the network adapters for a VM is an easy task:

When you remove a network adapter, vSphere will remove it’s entry in the .vmx file. In the .vmx file, the adapter configuration options are prepended by an “ethernetX” string, where X is a number between 0 and 9. Removing the adapter, removes… Read More »

C++ Windows 8 Store Apps: The series

So I’m going to start writing my own apps – I’ve been doing C++ for a while now (15 odd years) and fancy a new project to occupy my commute each day. I’ve equipped an old laptop with a cheap SSD and Windows 8 and installed Visual Studio. The SSD really makes a difference !… Read More »

Swapfile Datastores

If you have more than one swap file datastore for your hosts, then you might want to see which hosts are connected to what datastores.

Quick PowerCLI #1

I may or may not make this a series 😉 PowerShell with VMware is very useful. Ignoring the Connect-VIServer and Disconnect-VIServer commands, here are some tips. Getting the Swap File Datastore for all hosts in a cluster If you store VM swap files away from the VM folder (faster disk I would hope) and have… Read More »

DHCP authorisation for subdomains

While setting up multi-forest, multi-domain environment to test an Exchange 2010 deployment I decided to do something that I hadn’t done when setting up these tests before – I implemented DHCP on one of the domains – all so I could bring up clients as required. Installing the DHCP service was as easy as usual.… Read More »

adamsync

Following on from my post about getting ADAM to work with Openfire, using adamsync to pull in information from the source domains was also an interesting experience. Adamsync uses an xml file to define what it should pull in, and what it should do with it. There are plenty of references out there to adamsync… Read More »

VMware Orchestrator workflow failing

Had an interesting issue the other week involving VMware Orchestrator. Workflows have been set up to use Configuration elements, and one of the attributes in the element was a VC:VmFolder. This would be set, but the workflow would fail, and when I went back to look at the attribute it was “not set”. This had… Read More »

Windows 8 and recent hotfixes

So I bought a laptop about 6+ years ago and it died about 4 1/2 years ago, refusing to take a charge when plugged into the mains. Now I’m pretty sure I tried everything I could to get it to work, considering that I had a University assignment due in 2 days later and I… Read More »

ADAM / LDS

A recent project has been to configure an ADAM instance to allow Openfire (homepage) to allow users from multiple domains to connect to it. It has been interesting and at times frustrating. I wanted to sync to two domains, both in the same forest and create userProxy objects in the ADAM instance to allow for… Read More »