(Print this page)

New article: Running a PowerShell script from a .Net application
Published date: Sunday, June 24, 2018
On: Moer and Éric Moreau's web site

I just published my June article. A quick an easy but still (at least for me) useful hint.

Have you ever needed to run a PowerShell script from a .Net application? Pretty easy you would say and I fully agree. But what I was really needing was to retrieve all the outputs (from Write-Host or Write-Output statements) and any errors reported by the script. Do I get your attention now?

This is exactly what will be shown here in this article.

You can read it from https://www.emoreau.com/Entries/Articles/2018/06/Running-a-PowerShell-script-from-a-Net-application.aspx

(Print this page)