You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -388,15 +388,18 @@ The output has a default table view but there are other properties you might wan
388
388
PS C:\> Get-WindowsVersion | Select-Object *
389
389
390
390
391
-
ProductName : Windows 10 Pro
392
-
EditionID : Professional
393
-
ReleaseID : 2009
394
-
Build : 19042.906
395
-
Branch : vb_release
396
-
InstalledUTC : 10/16/2020 3:09:01 PM
397
-
Computername : PROSPERO
391
+
ProductName : Microsoft Windows 11 Pro
392
+
ReleaseVersion : 22H2
393
+
EditionID : Professional
394
+
ReleaseID : 2009
395
+
Build : 22622.598
396
+
Branch : ni_release
397
+
InstalledUTC : 5/12/2022 1:01:53 PM
398
+
Computername : WINDESK11
398
399
```
399
400
401
+
Beginning with version 2.45.0, `Get-WindowsVersion` will use the command-line tool `systeminfo.exe` to retrieve the operating system name. If this fails, then the registry value will be used. Windows 11 systems don't yet reflect with Windows 11 name in the registry.
Copy file name to clipboardExpand all lines: changelog.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
This file contains the most recent change history for the PSScriptTools module.
4
4
5
+
## v2.45.0
6
+
7
+
+ Fixed help typo for `Get-PSUnique`[PR 133](https://github.com/jdhitsolutions/PSScriptTools/pull/133). Thank you @fiala-sns.
8
+
+ Updated `Get-WindowsVersion` to inlcude `DisplayVersion`, e.g. `22H2`.
9
+
+ Modified format file `windowsversion.format.ps1xml` to replace `ReleaseID` with the `DisplayVersion` value.
10
+
+ Revised `Get-WindowsVersion` to use `systeminfo` to retrieve the operating system name and if that fails, fall back to using the registry entry. The registry entry for Windows 11 typically still shows Windows 10.
11
+
+ Help updates.
12
+
+ Updated `README.md`.
13
+
5
14
## v2.44.0
6
15
7
16
+ Updated `Show-ANSISequence` to fix a bug where foreground samples where included when specifying background. [Issue #130](https://github.com/jdhitsolutions/PSScriptTools/issues/130)
0 commit comments