Monthly Archives: January 2009

Powershell: Invoke-Expression and Tee-Object

So in my previous post I wrote about how I got around a problem with some standard error from Perforce. I want to take my work around function and pipe it into Tee-object so I can simultaneously display and log … Continue reading

Posted in General | Tagged | 2 Comments

Weird Powershell Standard Error Behavior

Ok I’m baffled. I am working on the previously mentioned powershell perforce backup script. I intentionally corrupted one of my database files to make sure I’m correctly catching the error. This ran me into a brick wall with trying to … Continue reading

Posted in General | Tagged | Leave a comment

Robocopy hates it when you end with a slash!

Robocopy is a pretty good utility for copyin/mirroring directories in windows.  I use it a lot.  I just spent a bit of time thinking powershell hated robocopy because I was having a lot of trouble calling a robocopy against a … Continue reading

Posted in General | Tagged | Leave a comment

PowerShell V1 doesn’t like to exit assignment functions

I was working on a fancy backup script for Perforce written in Powershell and I’ve definitely come across a bug in PowerShell V1.  Take a look at this: function Usage() { write-host "Hey fool, you need to pass 1 paramter … Continue reading

Posted in General | Tagged | 1 Comment

New Laptop and Windows 7

I just took ownership of a Dell M4400 refurbished laptop. I was excited to bust it out, but my heart sank when I cracked the lid and saw the bezel above the keyboard wasn’t seated. I pushed down and it … Continue reading

Posted in General | Leave a comment

New FinalBuilder Custom Action: Check Required Variables

I’ve been using FinalBuilder for a while now. It’s icon based scripting language for creating build scripts. It reminds me me of a multimedia language I used a long time ago called IconAuthor. Initially I had resisted the tool because … Continue reading

Posted in General | 1 Comment

VS2003 Web App Project and Subversion

Wow, this problem took way too long to track down. I was creating a build script for a legacy VS2003 Web App project. It is being migrated from Perforce and given an official build script. The command line build was … Continue reading

Posted in General | Leave a comment

TuneWiz Loosely Coupled, Easily Testable

A few years ago someone introduced me to the idea of unit testing with NUnit.  Brilliant!  Whenever I develop applications I inevitably write a lot of throw away code.  Lots of code to verify assumptions.  I would simply delete or … Continue reading

Posted in General | Tagged , , , , , | Leave a comment

Bazaar TuneWiz Launchpad

Professionally I have been an administrator for CVSNT, Perforce, Vault, and Subversion.   In my experience, the one area all these systems seem to fall flat is renaming when combined with merging/branching.  All of those systems start to look long in … Continue reading

Posted in General | Tagged , , , | Leave a comment

New Application TuneWiz

I’ve started a new project called TuneWiz. Problem: I have a very specific way I  like to process and manage my music files.  I’m warming on the iTunes application, but it doesn’t always work very well with the way I … Continue reading

Posted in General | Tagged , , | Leave a comment