Error Action Lambdas

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Daniel Krebs Daniel Krebs 3 months, 3 weeks ago.

  • Author
    Posts
  • #63309

    In this video Jeffrey Snover talks about error action Lambdas, I've tried that and it doesn't work. Was it not implemented or am I doing something wrong? For reference it is around 31.30.

    Thanks!

  • #63484
    Profile photo of Daniel Krebs
    Daniel Krebs
    Moderator

    This hasn't been implemented from what I can tell. ErrorAction only supports the data type System.Management.Automation.ActionPreference at the moment.

    You might want to ping Jeffrey Snover on Twitter (https://twitter.com/jsnover) and ask him. Our come to the PowerShell + DevOps Global Summit 2017 (https://powershell.org/summit/) or the PowerShell Conference EU 2017 (http://www.psconf.eu/) and ask him yourself in-person.

You must be logged in to reply to this topic.