How to run Powershell scripts in VB.Net
51,174
You can run powershell scripts in VB, take a look at the following link
The link posted above takes you step by step on how to accomplish this.
Check out this question that relates to yours: Running powershell scripts from within a .NET windows app
This following article is in C# but should help you understand the concept a bit better:
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C
Author by
Pickle
Updated on May 22, 2020Comments
-
Pickle almost 4 years
I need to run an Exchange 2007 powershell script in VB.Net, but I can't seem to find a method that shows how to do it with the module loaded.
What is the best method to do this?