I'm adding PowerShell support to RD Tabs to create a scripting environment where the application can be automated in many wonderful ways. I followed the super easy instructions at the PolyMon project for adding PowerShell support. The basic tests succeeded and I was happy. Then I tried actively integrating RD Tabs with the PowerShell script by providing a pre-defined variable that contained various methods for controlling aspects of RD Tabs. The simplest example was creating a new tab from within the script itself. When I ran the script and got to the step that executed that function, I got the following exception.
[ Read entire post ]