Search notes:

PowerShell function parameters

Undeclared function parameters

The value of undeclared function parameters is accessible through the automatic variable $args, see here.

TODO

Should this page be merged with PowerShell: Function and script parameters?

See also

Splatting
The automatic variable $psBoundParameters allows to determine which of the (optional) function parameters were actually bound to an object.
System.Management.Automation.ParameterAttribute

Index