Hosting

Host PowerShell in .NET.


In this video, I show how to create a .NET 6 console application that takes advantage of the PowerShell SDK to run scripts and commands. We also touch on error handling and inputs\outputs.