Being a C# programmer, I recently found some use for Microsoft’s PowerShell (the
cmd replacement). What’s nice about PowerShell is that it has full access to the .NET framework.
However, there are also some very pit falls when coming from C# (or any related programming language).
There’s one very mean pit fall when it comes to functions and their return values that – if you don’t exactly know how PowerShell works – makes you pull out your hair.