Functions/Test-ArgParams.ps1
1 2 3 4 5 6 7 8 9 |
Function Test-ArgParams { $ParameterOne = $args[0] $ParameterTwo = $args[1] Write-Output "ParameterOne is $($ParameterOne)" Write-Output "ParameterTwo is $($ParameterTwo)" Write-Output "args0 is $($args[0])" Write-Output "Args1 is $($args[1])" } |