PowershellFrameworkCollective / psframework

A module that provides tools for other modules and scripts
MIT License
427 stars 41 forks source link

Invoke-PSFProtectedCommand - ErrorEvent should use $_ #608

Open FriedrichWeinmann opened 9 months ago

FriedrichWeinmann commented 9 months ago

Currently it forces the user to use $args[0] to access the error that caused the event to trigger