Can I use Powershell command window to interact with a Powershell hosting app?

283 Views Asked by At

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.

1

There are 1 best solutions below

2
On BEST ANSWER

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.