rzander / sccmclictr

Client Center for Configuration Manager
Microsoft Public License
321 stars 59 forks source link

Get OS Version PS script shows "wrong" OS version #173

Closed pilgi3 closed 3 years ago

pilgi3 commented 3 years ago

If I use the script on a 20h2 device I got this output image

I know you read the info from the registry but Microsoft uses the Display Version instead of ReleaseId. image

image

So may you could change the script please? Thanks!

rzander commented 3 years ago

Fixed in https://github.com/rzander/sccmclictr/commit/9ead4854dcd17a385dfb247d6c157af14260328b

davisdre commented 2 years ago

Glad to see this addition. I haven't downloaded the pre-release of 1.0.7.x, but I can confirm that script does work.