Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR POWERSHELL

call function with parameters powershell

function foo($a, $b, $c) {
   "a: $a; b: $b; c: $c"
}

ps> foo 1 2 3
a: 1; b: 2; c: 3
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #function #parameters #powershell
ADD COMMENT
Topic
Name
3+9 =