I'm trying to embed PS in my .NET app to make part of object model easily discoverable and have the ability to navigate it. It is easy to create runspace, prompt user for some script as plain string, run the script in the runspace and output something to the user. But in that way it lacks interactivity - user doesn't get auto-completion, IntelliSense, tooltips etc, thus he is required to issue Get-Members constantly just to know what he can do with given objects.
As I understand interactivity is provided by PSHost thing.
Is it possible to go without implementing it manually in the application, but rather expose embedded runspace somehow, so I can connect to it with PowerGUI for example? Enter-PSSession or something alike.
ConsoleShell. See this related answer.