Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find PowerShell Cmdlets that Support the PassThru Parameter

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

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
  
How can I find cmdlets in Windows PowerShell 3.0 that support the PassThru parameter?

                     Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
 Use the ParameterName parameter from the Get-Command cmdlet, as shown here.

                                       Get-Command -ParameterName PassThru

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles



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