Andrew Arnott

News from my corner of the Visual Studio Project & Build team, programming tips, and solutions to common programming issues.

Browse by Tags

Tagged Content List
  • Blog Post: How to sort the console output of a hashtable in PowerShell

    Hashtables are inherently unsorted, but when you're printing a hashtable's contents to the console, it can certainly be helpful to sort its contents by key. Although it's not obvious, the way to do it is pretty easy. Let's start with defining a hashtable and play with it until it's obviously unsorted...
  • Blog Post: Getting doskey macros to work in PowerShell

    As much as I love to work with PowerShell, it was hard to give up the doskey macros I had defined for CMD.exe. But I just found out that doskey can work all its magic for PowerShell too, so here's the trick... Doskey defaults to working only with cmd.exe, but by passing the /exename= parameter to it...
Page 1 of 1 (2 items)