Runspace.DefaultRunspace Property

Definition

Gets and sets the default Runspace used to evaluate scripts

public static System.Management.Automation.Runspaces.Runspace DefaultRunspace { get; set; }
Property Value

Remarks

The Runspace used to set this property should not be shared between different threads.