Powershell Reporting Trick

Here is a little trick I keep re-using to output csv files of data from vCenter. [powershell]$reportArray = @() foreach($cluster in get-cluster){ foreach($vm in get-vm -Location $cluster){ foreach($ds in get-DataStore -VM $vm.name){ »

Beautiful Berlin

Last weekend Petra and I went to Berlin, it is a great city. She arranged the trip for my birthday because I am always banging on about the Pergamon Museum and the Ishtar Gate (seeing it was one of the 101 goals). Berlin has a lovely Museum Island that »

PowerCLI vs the Perl Toolkit

As an example of Powershell vs the Perl toolkit in VMware I want to show you triggering a storage rescan on a host in both. [perl] !/usr/bin/perl -w use strict; my @hbas = /usr/sbin/esxcfg-info \| grep vmkernel -i \| grep hba \| awk -F\. \{\'print »

Playing with PowerShell

I use powershell all the time now to manage VMware, with the PowerCLI commandlets you can achieve a lot and it matches Alan Kay’s motto Simple things should be simple, complex things should be possible. The simple: I want to go and set all the LUNs »

Day 200 of the 101 Goals in 1001 days

Well, as per my meta-goal 101 – Do 100 day updates, here is the Day 200 update. Not much movement really…. The Good:- 66 – Via Ferrata in Italy I go on Friday, cant wait. 82 – Visit Egypt I go in October for 2 weeks, 1 week cruise - 1 week sun and »

I am alive

Well, it has been an interesting few months, in brief: Went to Libya to work for a big telco Went to Oklahoma for a mates wedding then drove 2000 miles (or rather, made my girlfriend drive 2000 miles as I lost my driving licence…), visited 5 states »