Writing a Windows PowerShell Host Application
You can host Windows PowerShell in your application. The host application can define the runspace where commands are run, open sessions on a local or remote computer, and invoke the commands either synchronously or asynchronously based on the needs of the application.
The following topics explain how to create an application that hosts
In This Section
- Windows PowerShell Host Quickstart
Provides instructions and code samples to get you started creating host applications.
- Creating Runspaces
A set of topics that explain how to create runspaces to run Windows PowerShell command in a host application.
- Adding and invoking commands
Explains how to create and run a command pipeline in your host application..
- Creating remote runspaces
Expains how to connect a runspace to a remote computer.
- Creating a custom user interface
Introduces custom user interfaces and provides links to examples.
- Host Application Samples
This section includes samples of complete host applications.