{"id":10041,"date":"2006-07-07T23:37:00","date_gmt":"2006-07-07T23:37:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2006\/07\/07\/are-scriptblock-parameters-implemented-for-functions\/"},"modified":"2019-02-18T13:21:34","modified_gmt":"2019-02-18T20:21:34","slug":"are-scriptblock-parameters-implemented-for-functions","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/are-scriptblock-parameters-implemented-for-functions\/","title":{"rendered":"Are ScriptBlock parameters implemented for functions?"},"content":{"rendered":"<div>PSMDTAG:FAQ: Are ScriptBlock parameters implemented for functions? <br \/>Not in V1.&nbsp; Functions do not use the same parameter binding mechanism as Cmdlets.&nbsp;<\/div>\n<div>This is something we intent to address in a future release.&nbsp;<\/div>\n<div>&#8212; <br \/>Jeffrey Snover [MSFT]<br \/>Windows PowerShell Architect<br \/>Microsoft Corporation<br \/>This posting is provided &#8220;AS IS&#8221; with no warranties, no confers rights.<br \/>Visit the Windows PowerShell Team blog at:&nbsp;&nbsp;&nbsp; <a href=\"http:\/\/blogs.msdn.com\/PowerShell\">http:\/\/blogs.msdn.com\/PowerShell<\/a><br \/>Visit the Windows PowerShell ScriptCenter at:&nbsp; <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx\">http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PSMDTAG:FAQ: Are ScriptBlock parameters implemented for functions? Not in V1.&nbsp; Functions do not use the same parameter binding mechanism as Cmdlets.&nbsp; This is something we intent to address in a future release.&nbsp; &#8212; Jeffrey Snover [MSFT]Windows PowerShell ArchitectMicrosoft CorporationThis posting is provided &#8220;AS IS&#8221; with no warranties, no confers rights.Visit the Windows PowerShell Team blog [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[10],"class_list":["post-10041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-faq"],"acf":[],"blog_post_summary":"<p>PSMDTAG:FAQ: Are ScriptBlock parameters implemented for functions? Not in V1.&nbsp; Functions do not use the same parameter binding mechanism as Cmdlets.&nbsp; This is something we intent to address in a future release.&nbsp; &#8212; Jeffrey Snover [MSFT]Windows PowerShell ArchitectMicrosoft CorporationThis posting is provided &#8220;AS IS&#8221; with no warranties, no confers rights.Visit the Windows PowerShell Team blog [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=10041"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10041\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=10041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=10041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=10041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}