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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1745384918, '160.79.111.155', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/language/function/parameter/index(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78