Error Action Lambdas

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!

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 (Summit – PowerShell.org) or the PowerShell Conference EU 2017 (http://www.psconf.eu/) and ask him yourself in-person.