Developer Support

Advocacy and Innovation

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: ...

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 ...

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 ...