Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 556 Bytes

File metadata and controls

10 lines (8 loc) · 556 Bytes

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.