Click to Rate and Give Feedback

  Switch on low bandwidth view
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
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

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.

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.


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

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
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker