It is giving wrong output. I used the same query and found that VM which was running Windows Server 2022 DC version was showing as Windows 2016 DC as SKU