Examples of Creating Runspace Pools
This section includes examples that show different ways to create a pool or runspaces. Runspace pools allow you to create several runspaces that all share the same configuration.
In This Section
- How to Create a Runspace Pool
- This example shows how to define a runspace pool and how to use a runspace from that pool when running commands synchronously.
- How to Create a Remote Runspace Pool
- This example shows how to create a pool of runspaces that uses WS-Management-based remoting to establish a remote connection.
Other ResourcesWriting a Windows PowerShell Host Application