Skip to content

Commit a4ec7fe

Browse files
author
Adrian Vollmer
committed
Update Get-Sysinfo regarding ReleaseID
1 parent 9b234dd commit a4ec7fe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55

66
## [Unreleased]
77

8+
### Fixed
9+
10+
* Update Get-Sysinfo to display the new value of the new key for the release ID
11+
812
## [2.0.10] - 2024-12-20
913

1014
### Added

powerhub/templates/powershell/powerhub.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ Return some basic information about the underlying system
905905
isadmin = $IsAdmin;
906906
groups = $Groups;
907907
admins = $admins;
908-
releaseid = (Get-Item "HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('ReleaseID');
908+
releaseid = (Get-Item "HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('DisplayVersion');
909909
IPs = $IPs
910910
}
911911
}

0 commit comments

Comments
 (0)