Skip to content
This repository was archived by the owner on May 2, 2021. It is now read-only.

Commit f4a6ef4

Browse files
authored
Merge pull request #1 from devtechnie/master
Added Support for Windows Server 2016 / 2019
2 parents ebc6d18 + 5da1495 commit f4a6ef4

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Select which product version (Windows Server version) you want to check
9393
2 - Windows Server 2008
9494
3 - Windows Server 2008 R2
9595
4 - Windows Server 2012
96+
5 - Windows Server 2016
97+
6 - Windows Server 2019
9698
```
9799

98100
More details under: [Microsoft Technet - Win32_TSLicenseKeyPack](https://msdn.microsoft.com/en-us/library/windows/desktop/aa383803%28v=vs.85%29.aspx)

check/check_rdsdevicecals.ps1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
1 - Not supported.
2828
2 - Windows Server 2008
2929
3 - Windows Server 2008 R2
30-
4 - Windows Server 2012
30+
4 - Windows Server 2012
31+
5 - Windows Server 2016
32+
6 - Windows Server 2019
3133
3234
.EXAMPLE
3335
.\check_rds_device_cals.ps1 -Warning 20 -Critical 5 -KeyPackTypes 2 -ProductVersionID 2,3
@@ -68,9 +70,9 @@ Param(
6870

6971
[Parameter(
7072
Position=3,
71-
HelpMessage="Select your product version [ProductVersionID --> 0 = not supported, 1 = not supported, 2 = 2008, 3 = 2008R2, 4 = 2012] (More details under: https://msdn.microsoft.com/en-us/library/windows/desktop/aa383803%28v=vs.85%29.aspx)")]
72-
[ValidateRange(0,4)]
73-
[Int32[]]$ProductVersionID=(0,1,2,3,4),
73+
HelpMessage="Select your product version [ProductVersionID --> 0 = not supported, 1 = not supported, 2 = 2008, 3 = 2008R2, 4 = 2012, 5 = 2016, 6 = 2019] (More details under: https://msdn.microsoft.com/en-us/library/windows/desktop/aa383803%28v=vs.85%29.aspx)")]
74+
[ValidateRange(0,6)]
75+
[Int32[]]$ProductVersionID=(0,1,2,3,4,5,6),
7476

7577
[Parameter(
7678
Position=4,

0 commit comments

Comments
 (0)