Tag: Virtualization
Good News and Bad!
by Ryan on Jan.06, 2012, under General
Bad news is that as of the 2011-12-31 I finished working for my Employer in order to move back to my home country, so I no longer have direct access to (and responsibility for) VMWare (and all the other really cool stuff we had, infini-band, HPC etc.) To top it off I was told before I left they intended to implement vblock (I suspect they just wanted to make me jealous ;) )
Good news is that from the 2012-01-09 I am starting my new job which will be mainly SCCM to start but moving into Citrix as well. So you will likely see no more VMWare posts, however I intend to make it up to you all by posting lots more
Clone-VMFromSnapshot
by Ryan on Nov.22, 2011, under Coding/Scripting, powercli, powershell, Sys Admin, Virtualization
This is a function that allows you to clone a VM from a specified snapshot. The only way to do this in the UI would be to take a snapshot of the current state, revert to the one you wish to clone, clone, revert to latest snapshot and then delete latest snapshot. As you can see that is time consuming and takes numerous mouse clicks.
I recommend adding this function to your powershell profile so you always have access to it.
As always feel free to comment.
VMWare vSphere 5 License Validator
by Ryan on Jul.25, 2011, under Coding/Scripting, powercli, powershell, Servers, Sys Admin, Virtualization
Deprecated - VMWare have release an official checker and there is a better script at http://virtu-al.net
This is a script I wrote to check vSphere 5 vRAM compliance.
Update Custom Attributes for VMhosts in vCenter
by Ryan on Jun.23, 2011, under Coding/Scripting, powercli, powershell, Servers, Sys Admin, Virtualization
Yet another role added to my Job description, Now I am managing our Virtual Servers. So true to form I’ve dived headfirst into powershell / powercli to see what I can do. Some of the posts coming up on this will likely be similar to others around the web as I reinvent the wheel while I learn. But you never know one of you might find me 1st or I might do it in a way that suits you better.
First up is a simple script to read data from an xml file and then update custom attributes on the vmhosts.