How to execute multiple powershell Commands in Synchronous using C#?
Asked
Active
Viewed 290 times
0
-
1Do you mean "How do I call Powershell scripts synchronously from a C# application?"? – Mark Bertenshaw Apr 29 '13 at 16:48
-
Side note: gogreen, when updating question please remove tags from title and "thank you notes"/"I'm new to this town"/"plz give me teh codez" from your post. – Alexei Levenkov Apr 29 '13 at 16:55
-
Yes, that will work too! But let's say I have a list which contains multiple commands (Get-Process, Get-Culture, Dir etc..) and how can I execute the list of commands synchronously using c#. Please let me know if that can be achievable. – gogreen Apr 29 '13 at 16:56
-
There are lots of examples of how to execute several commands from C# code; just look at the "related" links. – Servy Apr 29 '13 at 17:05