Thursday, September 08, 2011

An open letter to the controller of Radio 4 Ms Gwyneth Williams @bbc @whjm

Dear Ms Williams
I recently listened to the Radio 4 branch of the BBC. And heard something I am sure you would want to know about (as both a successful woman and controller of the branch in question).
It appears that on FM, DAB, and online radio across the country there is a programme labelled Woman's Hour broadcasting items such "Cook the perfect tarte tatin", "Women in Business", etc. My complaint is that women are not a minority or a niche area. They do not need to have their radio programmes selected for them. I am deeply offended by this condescending and unnecessary practice.
I would appreciate your response to this complaint and I hope that the BBC will be able to think of a more appropriate way of broadcasting these items.
Yours in sisterhood
PJ Bryant.

Saturday, September 03, 2011

Overnight parking for the BBMF Lancaster - a great day at #Duxford shared with @keithshering

I'll sort the DSLR photos later ;-)

Destination today.

But sadly at least one of these planes will be missing...

Friday, September 02, 2011

#LFMF #PowerCLI Get-Folder contents #PowerShell


Because a “copy folder from the Datastore browser” backup of VM files is so inefficient, I’m writing a PowerShell process to improve my backups of the virtualised world.  Because I can move VM’s around onto different storage locations a hard coded “goto this datastore, download these VM’s” is going to need rewriting every time I do this.*

So I resolved to use as a starting point the Get-Folder command (and spawn a generic process for each Folder) that I have.

So I started to look at a folder (from the VMs and Templates view, not Hosts and Clusters) to do some testing on.  As the only, completely non active folder is Templates, I thought I’d start with that.

So the line of code I was looking at was something like:

Get-VM -Location (Get-Folder Templates) | Sort Name)

However I was getting nothing back, the code would run (there’s a lot more, but I won’t bore you with it until it’s all working), and there was a null result.  I didn’t quite spend days and days looking at it (see King Crimson - Indiscipline, Lyrics here), but I did spend quite a while thinking I’d got something wrong.

Then I had a thought – isn’t there a Get-Template command too?

Coded like this:
Get-Template -Location (Get-Folder Templates) | Sort Name)

I get some results.  Stupid of me to test a folder with wholly atypical contents

More later!

*I know some will wonder why I take flat file backups of VM’s.  It’s because I’m paranoid OK?  I copy them to external USB/FireWire drives for complete recoverability.  It’s not like I do it every day or anything