I am writing an C# application which will need to execute Powershell scripts with command line arguments and retrieve the output (aka what I would expect to see in the outpu
Answering my own question here. It looks like the right approach would be for my application to function as a PowerShell Host
https://msdn.microsoft.com/en-us/library/ee706563(v=vs.85).aspx
Use of PowerShell V2 objects is defined here: http://msdn.microsoft.com/en-us/library/windows/desktop/system.management.automation.powershell(v=vs.85).aspx