PSMDTAG:FAQ: Are ScriptBlock parameters implemented for functions?
Not in V1.  Functions do not use the same parameter binding mechanism as Cmdlets. 
This is something we intent to address in a future release. 

Jeffrey Snover [MSFT]
Windows PowerShell Architect
Microsoft Corporation
This posting is provided "AS IS" with no warranties, no confers rights.
Visit the Windows PowerShell Team blog at:
Visit the Windows PowerShell ScriptCenter at: