PowershellFrameworkCollective / psframework

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

Invoke-PSFProtectedCommand - ErrorEvent should use $_ #608

Open FriedrichWeinmann opened 11 months ago

FriedrichWeinmann commented 11 months ago

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