Powershell Tip #32: Count the number of parameters passed in a function

By | September 4, 2015

Tip: You can count the number of parameters passed in a function using the automatic variable $PSBoundParameters and the property Count:

count-number-parameters-function


previous-buttonnext-button

Leave a Reply

Your email address will not be published.