function foo($a, $b, $c) { "a: $a; b: $b; c: $c" } ps> foo 1 2 3 a: 1; b: 2; c: 3
Write-Host "Before calling Function." function testFunction { Write-Host "Function has been called" } testFunction