System.Management.Automatio ...


RunspaceInvoke Class
Allows the execution of commands from a CLR language.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage

Dim instance As RunspaceInvoke
Syntax

Visual Basic
Public Class RunspaceInvoke
    Implements IDisposable
C#
public class RunspaceInvoke : IDisposable
C++
public ref class RunspaceInvoke : IDisposable
J#
public class RunspaceInvoke implements IDisposable
JScript
public class RunspaceInvoke implements IDisposable
Example

For an example of applications that use this class, see the following topics:

Creating a Console Application that Runs a Specified Command.

Creating a Console Application that Runs a Specified Script.

Remarks

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.


Inheritance Hierarchy

System.Object
  System.Management.Automation.RunspaceInvoke
Thread Safety

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

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker