Windows Dev Center

Runspace.ResetRunspaceState Method

Resets the variable table for the runspace to the default state. Introduced in Windows PowerShell 3.0.

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

Dim instance As Runspace


public virtual void ResetRunspaceState ()
public void ResetRunspaceState ()
public function ResetRunspaceState ()

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft