A: 

Seems as if there may, indeed, be a (much) better approach.

How about a VS extension that embeds powershell into the IDE and allows one to use DTE (Visual Studio Automation Objects)?

Yeah. That would do the trick and much more.

"An interactive, scriptable shell?" you ask? "Yes!" I say.

ee