From c2ca3728c9f8faa98617654791611ff15f4b4a51 Mon Sep 17 00:00:00 2001 From: matziq <31866685+matziq@users.noreply.github.com> Date: Mon, 25 Jul 2022 14:49:55 -0700 Subject: [PATCH] Automated commit --- .../CMPivotQuery/Windows Versions with LCU Build | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Communityhub/CMPivotQuery/Windows Versions with LCU Build diff --git a/Communityhub/CMPivotQuery/Windows Versions with LCU Build b/Communityhub/CMPivotQuery/Windows Versions with LCU Build new file mode 100644 index 0000000..5f55532 --- /dev/null +++ b/Communityhub/CMPivotQuery/Windows Versions with LCU Build @@ -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 \ No newline at end of file