Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 795 Bytes

File metadata and controls

20 lines (15 loc) · 795 Bytes
description Runspace02 Code Samples
ms.date 09/13/2016
ms.topic reference
title Runspace02 Code Samples

Runspace02 Code Samples

Here is the source code for the Runspace02 sample. This sample uses the System.Management.Automation.Runspaceinvoke class to execute the Get-Process cmdlet synchronously. Windows Forms and data binding are then used to display the results in a DataGridView control.

For complete sample code, see the following topics.

Language Topic
C# Runspace02 (C#) Code Sample
VB.NET Runspace02 (VB.NET) Code Sample

See Also

Windows PowerShell SDK