Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Command line too long..

$
0
0

Yep, $params is a hash table. When you splat a hashtable, its keys become the names of command Parameters, and its values are the arguments passed to those parameters.

You can also do splatting with an array, in which case each element of the array is passed as a positional parameter, in the same order as the array.


Viewing all articles
Browse latest Browse all 13067

Trending Articles