ridicurious.com
Powershell

Powershell : How To Identify the Parameter that Accepts Pipeline Input

Use the below script for any cmdlet ( ~ Like one highlighted  below ) to identify the parameters that accepts pipeline inputs :

Get-Help Stop-Service -Parameter * | ?{$_.pipelineinput -ne ‘false’} | ft name, type , pipelineinput -AutoSize

pipe

Happy Learning 🙂

Related posts

PowerShell Enum for Parameter Validation

Prateek Singh
8 years ago

PowerShell Bing Powered Auto-Complete

Prateek Singh
8 years ago

PowerShell Guide to Python – Console Input and Output

Prateek Singh
6 years ago
Exit mobile version