Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Pull request with type [CREATE] for user [matziq] and object type [CMPivotQuery] - titled [Windows Versions with LCU Build] #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Communityhub/CMPivotQuery/Windows Versions with LCU Build
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Registry('HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion') |
where Property == 'ProductName'
and Value like '%Windows%' |
join Registry('HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion') |
where Property1 == 'CurrentBuild'
and Value1 != '' |
join Registry('HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion') |
where Property2 == 'UBR'
and Value2 != '' | project Device, Value1 = case (Value1 == '22000', 'Windows 11 Enterprise', 'Windows 10 Enterprise'), Value1, Value2 | order by Device asc