← Docs home

Support the ProcessRecord Method

📐 Guideline.

To accept all the records from the preceding cmdlet in the pipeline, your cmdlet must implement the ProcessRecord method. PowerShell calls this method multiple times, once for every record that is sent to your cmdlet.