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
Implements IDisposable
public class RunspaceInvoke : IDisposable
public ref class RunspaceInvoke : IDisposable
public class RunspaceInvoke implements IDisposable
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