RunspaceFactory.CreateRunspace Method (RunspaceConnectionInfo)
Updated: April 27, 2016
Applies To: Windows PowerShell
Creates a single runspace that can be opened on a remote computer. The runspace uses the default host and specified connection information.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
An object that derives from the RunspaceConnectionInfo abstract class. This object defines the information used to connect to a specific computer.
A runspace is the operating environment used when invoking the commands of a pipeline. After the runspace is created, it must be opened by using one of the following methods before it can be used: