PowerTip: Find PowerShell Cmdlets that Support the PassThru Parameter

Doctor Scripto

Summary: Learn how to find required parameters by using the Windows PowerShell Get-Command cmdlet in Windows PowerShell 3.0.

Hey, Scripting Guy! Question  How can I find cmdlets in Windows PowerShell 3.0 that support the PassThru parameter?

                     Hey, Scripting Guy! Answer Use the ParameterName parameter from the Get-Command cmdlet, as shown here.

                                       Get-Command -ParameterName PassThru

0 comments

Discussion is closed.

Feedback usabilla icon