Fundamentals13 / 16
Up next

The $args array

# $args collects arguments a function did not name
function Show-Args {
    Write-Output "got $($args.Count) args"
    foreach ($a in $args) {
        Write-Output $a
    }
}
Show-Args one two three
What you're solving

unbound arguments