Powershell Tip #5: Automatic variable ($PSBoundParameters)

By | July 10, 2015

Tip: The automatic variable $PSBoundParameters is a hashtable containing the parameters passed to a script or a function.

psboundparameters-get-member-powershell

Example:

 


previous-buttonnext-button

Leave a Reply

Your email address will not be published. Required fields are marked *