Embedding $finalizeProxyCommandScript in a ScriptBlock causes $PSCmdlet to fail.

In the following section of New-ProxyFunction $finalizeProxyCommandScript is embedded in a ScriptBlock and that causes $PSCmdlet.MyInvocation.MyCommand to fail. $finalizeProxyCommand = @" ...

Id #942 | Release: None | Updated: Aug 22, 2013 at 6:41 AM by russellds | Created: Aug 22, 2013 at 6:41 AM by russellds

  • 1-1 of 1 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items