Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keithbabinec/powershellhostedrunspacestarterkits
Contains starter kits / example projects for hosting PowerShell Runspaces in .NET
https://github.com/keithbabinec/powershellhostedrunspacestarterkits
dotnet-core powershell powershell-script runspace
Last synced: 26 days ago
JSON representation
Contains starter kits / example projects for hosting PowerShell Runspaces in .NET
- Host: GitHub
- URL: https://github.com/keithbabinec/powershellhostedrunspacestarterkits
- Owner: keithbabinec
- License: mit
- Created: 2020-02-12T06:21:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T17:36:53.000Z (over 4 years ago)
- Last Synced: 2024-09-28T04:21:09.835Z (about 1 month ago)
- Topics: dotnet-core, powershell, powershell-script, runspace
- Language: C#
- Homepage:
- Size: 21.5 KB
- Stars: 42
- Watchers: 5
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.