Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Version in list #217

Open
theuserbl opened this issue May 5, 2024 · 0 comments
Open

.NET Version in list #217

theuserbl opened this issue May 5, 2024 · 0 comments

Comments

@theuserbl
Copy link

theuserbl commented May 5, 2024

WinFetch shows the PowerShell-Version as Shell.
But is it possible, to add additional the .NET Version?

.NET 5.x have the version in $PSVersionTable under CLRVersion.
And .NET Core and .NET 6.x+ can adding it to $PSVersionTable, if it is not a preview version, with
$PSVersionTable.CLRVersion = [System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription -split '\s' | select -Last 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant