2

I want to make an executable that contains a collection of PowerShell scripts. On the left hand side the user could see a list of different scripts to select and run, and on the right hand side would be the output.

If I have a basic wpf app that looks like the following: enter image description here

Would I be able to create an instance of PowerShell inside the right portion of the window?

i.e. something like this: enter image description here

The output window (the right side) would pretty much just be for the output of whatever script was run.

Before I get too invested in this idea though, is it even possible to run/output PowerShell scripts inside a window of a WPF application?

1 Answer 1

5

I have a series of posts about using PowerShell from inside a .net app at my blog PowerShellStation.com (Writing a Host)

Sign up to request clarification or add additional context in comments.

1 Comment

I should mention that the posts are about WinForms, but the principles are the same.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.