Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find PowerShell Cmdlets that Support the PassThru Parameter

$
0
0

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


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>