How to execute multiple powershell Commands in Synchronous using C#?
-
1Do you mean "How do I call Powershell scripts synchronously from a C# application?"?Mark Bertenshaw– Mark Bertenshaw2013-04-29 16:48:55 +00:00Commented Apr 29, 2013 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– Alexei Levenkov2013-04-29 16:55:09 +00:00Commented Apr 29, 2013 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– gogreen2013-04-29 16:56:13 +00:00Commented Apr 29, 2013 at 16:56
-
There are lots of examples of how to execute several commands from C# code; just look at the "related" links.Servy– Servy2013-04-29 17:05:58 +00:00Commented Apr 29, 2013 at 17:05
Add a comment
|