Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RunspaceInvoke Class

Allows the execution of commands from a CLR language.

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

Dim instance As RunspaceInvoke

public class RunspaceInvoke : IDisposable
public class RunspaceInvoke implements IDisposable
public class RunspaceInvoke implements IDisposable

When this class is used, the Windows PowerShell runtime builds all of the other data structures needed to open and close the runspace. However, this class cannot be used if the application needs to explicitly define a pipeline.


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