ABreWPower's repositories
Start-RunCommand
Runs any commands passed into it, while capturing and handling their errors and exceptions. It will then return whatever the native command would return to STDOUT. This command will also wait for the process and all of its children before returning. Uses the .Net libaries to start the process System.Diagnostics.ProcessStartInfo and System.Diagnostics.Process