Click to Rate and Give Feedback

  Switch on low bandwidth view
Creating Applications That Use the Default Host

This section includes information about creating console applications that use the runspace in different ways without defining a custom host. These applications all use the default hosting application (poweshell.exe), and they do not implement the PSHost class or its related user interface classes.

noteNote:
For more information about how hosting applications and hosts works with other Windows PowerShell components, see How Windows PowerShell Works.

In This Section

 

Topic Definition

Creating a Console Application That Runs a Specified Command

This section describes how to write a console application that runs a specified command without explicitly creating a pipeline.

Creating a Console Application That Runs a Specified Script

This section describes how to write a console application that runs a specified script without explicitly creating a pipeline.

Configuring a Runspace Using RunspaceConfiguration

This section describes how to write a console application that defines a runspace using a RunspaceConfiguration object to set the runspace configuration.

Configuring a Runspace Using a Windows PowerShell Snap-in

This section describes how to write a console application that defines a runspace using a Windows Powershell snap-in to set the runspace configuration.

Creating a Console Application That Adds Commands to a Pipeline

This section describes how to write a console application that defines its own pipeline and adds commands to that pipeline.

Creating a Console Application That Adds Parameters to a Command

This section describes how to write a console application that defines its own pipeline, adds commands to that pipeline, and then adds parameters to the commands.

Creating a Console Application That Invokes a Pipeline Asynchronously

This section describes how to write a console application that asynchronously invokes a pipeline that contains a script.

See Also



Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker