Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PowerShell.Create Method (RunspaceMode)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the PowerShell class with an empty pipeline and a specific runspace mode; a script or command must be added before invoking this instance. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public static PowerShell Create(
	RunspaceMode runspace
)

Parameters

runspace
Type: System.Management.Automation.RunspaceMode

A RunspaceMode that describes the runspace mode.

Return Value

Type: System.Management.Automation.PowerShell

A PowerShell object with an empty pipeline.

Return to top

Community Additions

Show: