Can you splat positional arguments in PowerShell?
问题 Does PowerShell support splatting of positional arguments as opposed to named parameters? 回答1: PowerShell's argument splatting (see Get-Help about_Splatting) offers two fundamental choices: splatting via a hashtable : works for named arguments only splatting via an array -like value : works for positional arguments only - except in non-advanced functions that pass all [unbound] arguments through to another command via @Args , in which case named arguments are recognized too (i.e., by