/PowerShellHostedRunspaceStarterkits

Contains starter kits / example projects for hosting PowerShell Runspaces in .NET

Primary LanguageC#MIT LicenseMIT

PowerShellHostedRunspaceStarterkits

Contains starter kits / example projects for hosting PowerShell Runspaces in .NET

Tutorial Post

https://keithbabinec.com/2020/02/15/how-to-run-powershell-core-scripts-from-net-core-applications/

Examples included

  1. Default Runspace: A simple async example using the default runspace.
  2. Custom Runspace Pool: A more advanced example using a custom runspace pool and handling output streams.
  3. Shared App Domain Usage: Demonstrates how to leverage the shared app domain to use classes from the hosting process.