I'm working on an application to have Powershell embedded in it. I'm wondering if there is a way I can launch a separate Powershell command window, and interact with my application through this Powershell window? Can anyone point out some reference? Thanks a lot.
Asked
Active
Viewed 274 times
1 Answers
0
After some digging, I figure out what I can do in this case, is to create a PowerShell provider in my application. With this provider, user will be able to interact with the application through PowerShell running outside of the application.
-
1This was a real answer until you asked "Any Comments?" It is pointless to ask questions in answers; nobody will see them. If you have a real question, you can ask it in the usual way. – Robert Harvey Sep 20 '11 at 17:07
-
Yes. I just implemented what I mentioned above. That works. In a separate PowerShell console, I can import module of my own assembly, and start to create objects and methods provided by my application. – awatto Oct 07 '11 at 16:12