Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Host Application Samples

 

This section includes sample code that is provided in the Windows PowerShell 2.0 SDK.

You can copy the full sample code from the topics in this section, or use the source files installed with the SDK. The Windows PowerShell 2.0 Software Development Kit (SDK) provides ReadMe files, source files, and Visual Studio project files for each sample.

In This Section

PowerShell API Samples

This section includes sample code that shows how to create runspaces that restrict functionality, and how to asynchronously run commands using a runspace pool to supply the runspaces.

Custom Host Samples

Includes sample code for writing a custom host. The host is the component of Windows PowerShell that provides communications between the user and the Windows PowerShell engine. For more information about custom hosts, see Custom Host.

Runspace Samples

Includes sample code for creating runspaces. For more information about how runspaces are used, see Host Application Runspaces.

Remote Runspace Samples

This section includes sample code that shows how to create runspaces that can be used to connect to a computer by using WS-Management-based Windows PowerShell remoting.

Show: