Splatting

suggest change

Versions

[{“Name”:“2.0”,“GroupName”:null},{“Name”:“3.0”,“GroupName”:null},{“Name”:“4.0”,“GroupName”:null},{“Name”:“5.0”,“GroupName”:null}]

Introduction

Splatting is a method of passing multiple parameters to a command as a single unit. This is done by storing the parameters and their values as key-value pairs in a hashtable and splatting it to a cmdlet using the splatting operator @.

Splatting can make a command more readable and allows you to reuse parameters in mulitple command calls.

Remarks

Note: The Array expression operator or @() have very different behavior than the Splatting operator @.

Read more at about_Splatting @ TechNet

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents