feat: promote PS5.1 to first-class runtime; improve New-LS2Dashboard UX#58
Merged
Merged
Conversation
- remove IsPowerShellCore/IsWindowsTerminal/PwshSpectreConsole checks from Test- and Repair-PowerShellEnvironment - New-LS2Dashboard defaults FilePath to cwd with yyyy-MM-dd_HHmmss timestamp; opens browser by default (Show=\True) - add generation timestamp (yyyy-MM-dd HH:mm:ss) to dashboard HTML title and header band - update Show-Logo quick start block to list New-LS2Dashboard with description - bump ModuleVersion to 2026.5.90829
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the PS5.1 "degraded experience" warnings and promotes Windows PowerShell 5.1 to a fully supported first-class runtime alongside PS 7.4+. Also improves the out-of-the-box
New-LS2Dashboardexperience so it works usefully with no arguments.Changes
PS5.1 first-class (ADR-0002)
Test-PowerShellEnvironment: removedIsPowerShellCore,IsWindowsTerminal, andPwshSpectreConsolechecks; return object reduced to 6 keysRepair-PowerShellEnvironment: removed Guidance 1 (Windows Terminal warning) and Guidance 2 (headless mode / upgrade-to-7.4 warning); simplified$successcalculationDocs/ADR/0002-ps51-first-class-remove-spectre-wt-ps74-checks.mdNew-LS2Dashboard UX
$FilePathnow resolves to<cwd>\Locksmith2-Dashboard-<yyyy-MM-dd_HHmmss>.html(timestamped, no temp dir)$Showdefaults to$true— browser opens automatically when no parameters are givenyyyy-MM-dd HH:mm:ss) added to HTML<title>and visible header band in the page bodyShow-Logo
Invoke-Locksmith2andNew-LS2Dashboardwith one-line descriptionsTests
All changes are test-driven (RED → GREEN). 10/10 Dashboard tests passing; full suite at 919 passed / 21 failed (pre-existing failures only, no regressions).
ADR
See
Docs/ADR/0002-ps51-first-class-remove-spectre-wt-ps74-checks.mdfor full decision record.