Showing results for Splatting - PowerShell Team

Jan 2, 2009
0
0

How and Why to Use Splatting (passing [switch] parameters)

PowerShell Team
PowerShell Team

On our internal discussion list, someone just asked about how to pass switch parameters from one function to another.  This person asked this as "Why can't [switch] parameters be passed as parameters?". My short answer was simple: "They Can Be" Answering this question is a great way to illustrate the value of a PowerShell...

[switch]Splatting