Posts from ‘December, 2009’

Match VM and Windows harddisks using PowerCLI

Tweet
Today I was asked to extend a disk of a Windows virtual machine. Normally this is a standard procedure and finished within minutes. The hardest part of the procedure is to check the scsi id from within Windows and match the Windows disk to the corresponding virtual disk in the virtual machine’s hardware settings. Unfortunately [...]

Happy 1st Blogiversary to me

Tweet
Today is my blog’s 1st blogiversary, Yay!
On December 19, 2008 I made my first blog post ever, and the crappiest one too in my opinion. That was because at that time I had no idea what I should write about. I knew it had to do something with virtualization, but no particular subject entered my mind at [...]

$Null or Nothing?

Tweet
When looking at a lot of PowerCLI scripts available I noticed that people tend to forget to validate their output. For example let’s look at the following piece of code:
$Vms = Get-VM
Although this command will return a collection in almost all cases, it can however return 3 different output types. It can return a collection, [...]