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

One thought on “Powershell Tip #32: Count the number of parameters passed in a function

  1. Pingback: Powershell Tip #33: Increase the number of commands of the history - Powershell Guru

Leave a Reply

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