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 V2 feature called Splatting. Splatting is
Read More...
Read the complete post at http://blogs.msdn.com/powershell/archive/2009/01/02/how-and-why-to-use-splatting-passing-switch-parameters.aspx
Posted
Jan 02 2009, 03:03 PM
by
Windows PowerShell Blog