first of all, I\'ve got a bit of development skills but it\'s been ages since i\'ve use them. Now i\'m trying to automate an install for a server application. So what i\'m t
I think you need to use "PowerShellInstance.Invoke();"
Microsoft has a great tutorial here. https://blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/