Category Archives: PowerShell
Moving and renaming resource keys in a .resx file
I work on websites where we have several resource files that are localized in many languages. This makes operations like renaming a resource key and moving a resource key to a different file annoying since you must do it across … Continue reading
A combined Mercurial and Git PowerShell Prompt
A while ago I posted the code I use to create a custom PowerShell prompt to show the status of my Mercurial repositories. Since then I have also started using Git so I updated my prompt to work for both. … Continue reading
Launching the TortoiseHg log more conveniently from the command line
When working with Mercurial I usually perform most tasks from the command line but often I want to be able to visually explore the history of the whole repository or of a single file. For this I find TortoiseHg’s repository … Continue reading
Making an executable take pipelined input in PowerShell
It annoys me when I am working with PowerShell try to pipe the results of a cmdlet into a exe which doesn’t understand pipelined data. To solve this problem I began aliasing some of the common programs I would like … Continue reading →
A Mercurial PowerShell Prompt
Since switching to Mercurial I often use the “hg summary” command. hg summary [--remote] aliases: sum summarize working directory state This generates a brief summary of the working directory state, including … Continue reading →

