How to use string.Format with LINQ Select

When I project new data types using the Select operator I sometimes want to create new strings from the combination of existing properties.  Naturally I turn to string.Format.  However, if you attempt a call like the one below: public object Get(int id) {    return this.db.Peopl... [More]

Building Ubuntu Servers in Hyper-V

Download Ubuntu server Ubuntu Server 14.04 LTS ISO from http://www.ubuntu.com/download/server In Hyper-V Manager select New / Virtual Machine Before You Begin Click Next Specify Name and Location Name: <Stage> i.e. Dev, QA, Prod Click Next Specify Generation Select ... [More]

Never forget -Verbose again

Working with DSC I am constantly having to type –Verbose on my Start-DscConfiguration calls.  However, I stumbled across this cool feature of PowerShell that I thought I would share that will set the –Verbose switch on all your calls for you. PowerShell has a collection of Preferen... [More]