Splatting

suggest change

Versions

PowerShell 2.0 and later.

Introduction

Splatting passes many parameters to a command as one unit. Store the parameters and values in a hashtable and pass it with the splatting operator @.

Splatting can make a command more readable, and you can reuse the parameters in multiple calls.

Remarks

Note: The array expression operator @() is not the splatting operator @.

Read more in about_Splatting.

Feedback about page:

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



Table Of Contents