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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.