Async Pipelines and PipelineReader Issues

I've been spending some time this week coding some changes to a custom PowerShell PSHost for an application. One of the changes I wanted to experiment with was changing the code that executed commands so that it used Pipeline.InvokeAsync() instead of Pipeline.Invoke(). There are a couple of things that need...

PipelineTesting v1.1.2.0

I've just uploaded a new version of my PipelineTesting library. This one contains just a few minor modifications: A few improved unit tests, and new methods to make it easier to create multi-part messages to use as pipeline inputs. Here's an example of the last one: IBaseMessage message = MessageHelper.Create(...

Distant Shores - A Visual Studio Color Scheme

I created this color scheme a while ago but had not posted it yet. Distant Shores is a low-contrast color scheme with a dark background. I've been using it for a while now and it's fairly usable (particularly on a bright screen); though it is a bit different than most...

Editing PowerShell Scripts with Vim

I've been using Vim to edit my PowerShell scripts for a while. I get full syntax highlighting and indentation thanks to Peter Provost's excellent scripts: Syntax file Indent file File Type Plugin file These work great most of the time, but a couple of things had been nagging me for...

PowerShell Fortune

The first version of Linux I ever used was Slackware 2.3 running one of those pesky 1.X kernels. Since then, one of my all-time favorite utilities has been the Fortune program, which displays quotes on the console when run. <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="339" alt="fortune"...

Dev Environment for PowerShell

A few people have asked already about my PowerShell script for configuring a development environment for .NET / Visual Studio / SDK work, so I thought I might as well break it into it's own script. Here it is: ############################################################################### <br /># Configures the .NET / Visual Studio / Windows...

PowerShell and the Windows SDK

Nanda Lella's from the Windows SDK team is asking for feedback for the next version of the Platform SDK. Specifically, she asks whether a PowerShell-based build environment (as opposed to the current CMD-based one) would be a welcome addition to the SDK. Personally, I think this is a great idea...

Nick Heppleston on PipelineTesting

Nick Heppleston wrote a very nice piece on using my PipelineTesting library to test BizTalk Pipeline Components in isolation. Thanks for the kind words, Nick; they are much appreciated! I wrote PipelineTesting for my own needs; I spend a substantial amount of my BizTalk development time working with schemas, pipelines...

NTFS Data Streams and .NET

Several people have written in the past about accessing Alternate Data Streams in the NTFS file system from .NET code. The reason for this is that accessing streams is not natively supported in .NET. What you don't hear very often is exactly why this is so. There are two things...

TortoiseSVN and Putty

Last week, I was trying to connect to an SVN repository over SSH, using TortoiseSVN and Putty. I found a the faq on how to configure everything and checked it to make sure I was doing everything right. I tried to connect. TortoiseSVN asked for my certificate password. And then,...