How to call Powershell script and pass parameters from C# windows form?

  • Thread starter Thread starter hassaan443
  • Start date Start date
H

hassaan443

Guest
I want to call powershell script which accepts some parameters from c# windows form.

For Example :- I have a powershell script which accepts 2 parameters and i have a windows form with two textboxes and a submit button. I want to pass parameters to powershell script from these two textboxes, and when i press the submit button it will call the powershell script and run it on powershell terminal and also show result in powershell terminal window.

Continue reading...
 

Similar threads

C
Replies
0
Views
142
Carlo Goretti
C
C
Replies
0
Views
101
Carlo Goretti
C
C
Replies
0
Views
303
Carlo Goretti
C
C
Replies
0
Views
335
Carlo Goretti
C
Back
Top