Mercurial + PowerShell

Thursday, January 28th, 2010

My last couple of posts have been about Mercurial. I keep discovering new things I like about it. Combining it with PowerShell also presents some exciting possibilities. I have a couple of PowerShell scripts I’ve used for building stuff for a while. This one for instance. ...

Switching Audio Input and Output With PowerShell

Thursday, December 11th, 2008

Switching between different audio input and output devices on Windows XP is pretty straightforward. You can do this using the Control Panel > Sounds, Speech, and Audio Devices > Sounds and Audio Devices tab (see right). It means opening this up and changing the appropriate dropdowns. I wanted to ...

Visual Studio Startup Script

Sunday, June 22nd, 2008

Given that occasionally I'm prone to playing the odd game on my home computer I didn't want a lot of the services that are only used for development running all the time. Solution... use the Services tab in the Computer Management console and configure them to start manually. Then use ...

Development tools for coding projects

Thursday, December 6th, 2007

It was finally time to re-pave my machine which had been getting a bit sluggish of late. I started off with Peter's machine repave post and created my own backlog of things I install. A while back a blogged about tools for personal coding projects which proved pretty popular. I ...

Power build with PowerShell

Tuesday, November 20th, 2007

Here's a little PowerShell script I use to automatically log my build output somewhere so I can look at the last thing I tried to build if need be. Add the following to your profile: $lastBuild = join-path $env:temp lastbuild.log function b { msbuild /l:"FileLogger,Microsoft.Build.Engine;logfile=$lastBuild" $args } function lb { notepad $lastBuild } Now ...