Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.