Premier Developer

Building the business of tomorrow with developers today

How to sort the console output of a hashtable in PowerShell
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. Great. Now let's sort it: Erg
Getting doskey macros to work in PowerShell
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, you can set macros for PowerShell
How to (not) write an especially precarious app on .NET (Compact Framework)
How to (not) write an especially precarious app on .NET (Compact Framework)
As the .NET Compact Framework developers work to add features, fix bugs, and refactor code, we often have to determine whether a given change could break existing customer code.  The ideal is that NetCF 3.5 will run all apps that ran on NetCF 2.0 and 1.0.  We run hundreds of apps and many, many tests before shipping each product to c
Identity crisis
Identity crisis
I now have three blogs that I post to: this one, JMPInline, and NetCFTeam.  Which posts will I put where?  I think I'll post everything software-related to both JMPInline and this one, then for those that specifically relate to NetCF I will post a link to the NetCFTeam blog as a small post.  Rather than copying posts I've alread