HLK for Win Server 2022 (NICStrictPropertyValidation, Test-NetHLK) fails by mistake

Viktor Prutyanov 1 Reputation point
2021-07-22T07:04:38.307+00:00

Hi,

NICStrictPropertyValidation from HLK for Windows Server 2022 uses PowerShell module Test-NetHLK 2021.06.02.52 https://github.com/microsoft/Test-NetHLK. It erroneously fails when JumboPacket parameter max value is 65500:

[FAIL] *JumboPacket NumericParameterMaxValue is -ge 9014

Actually the problem is that string comparison is called instead of integer comparison.
I've made a pull request with the fix https://github.com/microsoft/Test-NetHLK/pull/2

Any ideas if this is going to be fixed and when?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,613 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.