Provides a means to create a single runspace or a pool of runspaces.
The following tables list the members exposed by the RunspaceFactory type.
|CreateOutOfProcessRunspace||Overloaded. Creates an out-of-process runspace.|
|CreateRunspace||Overloaded. Creates a single runspace. The variants of this method can be used to create a runspace that uses a custom host or the default host, plus other data such as initial session state settings, configuration information, connection information (for remoting), and type tables.|
|CreateRunspacePool||Overloaded. Creates a pool of runspaces. The variants of this method can be used to create a pool that contains a single runspace, a pool that specifies the minimum and maximum number of runspaces that can be open, and more. This method is introduced in Windows PowerShell 2.0.|
Send comments about this topic to Microsoft.