I'd like to setup a Virtual Directory with a PowerShell script the necessary parameters of course. In the past I've done this with a .NET console app, but I'd like to integrate this with other shell scripts without distributing the .exe from the .net console app.
However, I've never really done this with PowerShell... To complicate things I need to do this for IIS 5.1 and 5.1+.
So, aside from "is this possible or advisable?" I'm also wondering if there are any examples that people would recommend.