Share via

Runspace.DefaultRunspace Property


Gets and sets the default Runspace used to evaluate scripts.

 static property System::Management::Automation::Runspaces::Runspace ^ DefaultRunspace { System::Management::Automation::Runspaces::Runspace ^ get(); void set(System::Management::Automation::Runspaces::Runspace ^ value); };
public static System.Management.Automation.Runspaces.Runspace DefaultRunspace { get; set; }
static member DefaultRunspace : System.Management.Automation.Runspaces.Runspace with get, set
Public Shared Property DefaultRunspace As Runspace

Property Value


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

Applies to