PowerShell Genie

What is splatting?

Question 2 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Explain PowerShell splatting, named parameter hashtables, conditional options and the difference between $params and @params.

Interview · Question 4 of 34

Answer before reveal

Your draft

Write the answer you would give in an interview. The model answer stays hidden until you have drafted at least a short response.

Primary documentation

Get-Service reference

Continue
Genie guideWhat is splatting?

Explain PowerShell splatting, named parameter hashtables, conditional options and the difference between $params and @params.