-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalitythe issue is for cleaning up the code with no impact on functionalityIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtimeWaiting on AuthorThe PR was reviewed and requires changes or comments from the author before being acceptThe PR was reviewed and requires changes or comments from the author before being accept
Description
Summary of the new feature / enhancement
There's a bunch of legacy code specifically for compat with PSv2 (a more exhaustive search should be done locally as GitHub doesn't find all matches): https://github.com/PowerShell/PowerShell/search?l=C%23&q=psv2
Since PS 2.0 was officially deprecated Aug 2017 (https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-the-windows-powershell-2.0-engine?view=powershell-7.2), there's no need to keep this code around.
Proposed technical implementation details (optional)
Review and remove all PSv2 specific code paths
Metadata
Metadata
Assignees
Labels
Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalitythe issue is for cleaning up the code with no impact on functionalityIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtimeWaiting on AuthorThe PR was reviewed and requires changes or comments from the author before being acceptThe PR was reviewed and requires changes or comments from the author before being accept