RunspaceFactory RunspaceFactory RunspaceFactory Class

Definition

Defines a factory class for creating Runspace objects.

public static class RunspaceFactory
type RunspaceFactory = class
Public Class RunspaceFactory
Inheritance
RunspaceFactoryRunspaceFactoryRunspaceFactory

Methods

CreateOutOfProcessRunspace(TypeTable) CreateOutOfProcessRunspace(TypeTable) CreateOutOfProcessRunspace(TypeTable)
CreateOutOfProcessRunspace(TypeTable, PowerShellProcessInstance) CreateOutOfProcessRunspace(TypeTable, PowerShellProcessInstance) CreateOutOfProcessRunspace(TypeTable, PowerShellProcessInstance)
CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary, String) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary, String) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary, String)
CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary)
CreateRunspace(PSHost, RunspaceConnectionInfo) CreateRunspace(PSHost, RunspaceConnectionInfo) CreateRunspace(PSHost, RunspaceConnectionInfo)
CreateRunspace(PSHost, RunspaceConfiguration) CreateRunspace(PSHost, RunspaceConfiguration) CreateRunspace(PSHost, RunspaceConfiguration)

Creates a runspace using specified PSHost and RunspaceConfiguration

CreateRunspace(PSHost, InitialSessionState) CreateRunspace(PSHost, InitialSessionState) CreateRunspace(PSHost, InitialSessionState)

Creates a runspace using specified PSHost and InitialSessionState

CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable) CreateRunspace(RunspaceConnectionInfo, PSHost, TypeTable)
CreateRunspace(RunspaceConfiguration) CreateRunspace(RunspaceConfiguration) CreateRunspace(RunspaceConfiguration)

Creates a runspace using Microsoft.PowerShell.DefaultHost

CreateRunspace(InitialSessionState) CreateRunspace(InitialSessionState) CreateRunspace(InitialSessionState)

Creates a runspace using Microsoft.PowerShell.DefaultHost

CreateRunspace(PSHost) CreateRunspace(PSHost) CreateRunspace(PSHost)

Creates a runspace using specified host. This runspace is created using the configuration information from EntryAssembly.

CreateRunspace() CreateRunspace() CreateRunspace()

Creates a runspace using host of type Microsoft.PowerShell.DefaultHost.

CreateRunspace(RunspaceConnectionInfo) CreateRunspace(RunspaceConnectionInfo) CreateRunspace(RunspaceConnectionInfo)
CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable)

Creates a RunspacePool on the specified remote runspace computer. maxRunspaces limits the number of Runspaces that can exist in this pool. The minimum pool size is set to minPoolSoze.

CreateRunspacePool() CreateRunspacePool() CreateRunspacePool()

Creates a RunspacePool with MaxRunspaces 1 and MinRunspaces 1.

CreateRunspacePool(InitialSessionState) CreateRunspacePool(InitialSessionState) CreateRunspacePool(InitialSessionState)

Creates a RunspacePool using the supplied initialSessionState. The minimum runspaces size is set to 1. The maximum runspaces size is set to 1.

CreateRunspacePool(Int32, Int32) CreateRunspacePool(Int32, Int32) CreateRunspacePool(Int32, Int32)

Creates a RunspacePool maxRunspaces limits the number of Runspaces that can exist in this pool. The minimum pool size is set to minPoolSoze.

CreateRunspacePool(Int32, Int32, PSHost) CreateRunspacePool(Int32, Int32, PSHost) CreateRunspacePool(Int32, Int32, PSHost)

Creates a RunspacePool using the supplied host, minRunspaces and maxRunspaces

CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo)

Creates a RunspacePool on the specified remote computer. maxRunspaces limits the number of Runspaces that can exist in this pool. The minimum pool size is set to minPoolSoze.

CreateRunspacePool(Int32, Int32, InitialSessionState, PSHost) CreateRunspacePool(Int32, Int32, InitialSessionState, PSHost) CreateRunspacePool(Int32, Int32, InitialSessionState, PSHost)

Creates a RunspacePool using the supplied initialSessionState, minRunspaces and maxRunspaces

CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost)

Creates a RunspacePool on the specified remote runspace computer. maxRunspaces limits the number of Runspaces that can exist in this pool. The minimum pool size is set to minPoolSoze.

CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary) CreateRunspacePool(Int32, Int32, RunspaceConnectionInfo, PSHost, TypeTable, PSPrimitiveDictionary)

Creates a RunspacePool on the specified remote runspace computer. maxRunspaces limits the number of Runspaces that can exist in this pool. The minimum pool size is set to minPoolSoze.

Applies to