Can I use Powershell command window to interact with a Powershell hosting app?
-
22-01-2021 - |
Question
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.
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow