Conversation

KirkMunro

This RFC was originally proposed as part of a collection of RFCs in PR #187. I am separating those RFCs into separate PRs to better adhere to the RFC process.

@SteveL-MSFT

@PowerShell/powershell-committee discussed this, we think an alternate solution should be explored leveraging Engine events or introducing a Host event to provide a more generalized solution for the case of executing a script block on a specific event instead of having it attached to cmdlets. Also would need more details and thought on how to handle errors within the action scriptblock.

Sign up for free to join this conversation on . Already have an account? Sign in to comment
Committee-Reviewed WG-Enginecore PowerShell engine, interpreter, and runtime
None yet

Successfully merging this pull request may close these issues.