Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 840 Bytes

File metadata and controls

17 lines (14 loc) · 840 Bytes
description GetProc03 (VB.NET) Sample Code
ms.date 09/12/2016
ms.topic reference
title GetProc03 (VB.NET) Sample Code

GetProc03 (VB.NET) Sample Code

The following code shows the implementation of a Get-Process cmdlet that can accept pipelined input. This implementation defines a Name parameter that accepts pipeline input, retrieves process information from the local computer based on the supplied names, and then uses the WriteObject(System.Object,System.Boolean) method as the output mechanism for sending objects to the pipeline.

Code Sample