Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 849 Bytes

File metadata and controls

21 lines (16 loc) · 849 Bytes
description GetProc02 (VB.NET) Sample Code
ms.date 09/13/2016
ms.topic reference
title GetProc02 (VB.NET) Sample Code

GetProc02 (VB.NET) Sample Code

The following code shows the implementation of a Get-Process cmdlet that accepts command-line input. Notice that this implementation defines a Name parameter to allow command-line input, and it uses the WriteObject(System.Object,System.Boolean) method as the output mechanism for sending output objects to the pipeline.

Code Sample

See Also

Windows PowerShell SDK