Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.18 KB

File metadata and controls

24 lines (17 loc) · 1.18 KB
description GetProc01 (VB.NET) Sample Code
ms.date 09/13/2016
ms.topic reference
title GetProc01 (VB.NET) Sample Code

GetProc01 (VB.NET) Sample Code

The following code shows the implementation of the GetProc01 sample cmdlet. Notice that the cmdlet is simplified by leaving the actual work of process retrieval to the System.Diagnostics.Process.Getprocesses* method.

Note

You can download the C# source file (getproc01.cs) for this Get-Proc cmdlet using the Microsoft Windows Software Development Kit for Windows Vista and .NET Framework 3.0 Runtime Components. For download instructions, see How to Install Windows PowerShell and Download the Windows PowerShell SDK.

The downloaded source files are available in the <PowerShell Samples> directory.

Code Sample

See Also

Windows PowerShell Programmer's Guide

Windows PowerShell SDK