Author Posts

February 2, 2017 at 12:31 pm

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!

February 3, 2017 at 3:55 pm

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.