CIR Query for detecting Windows 7 ESU license.
Inspired by a SCCM query, I created a CIR that can be used to detect whether the ESU license is active on a system.
ShellCommandTextReturn(wmic.exe /namespace:\\root\cimv2 path SoftwareLicensingProduct where LicenseStatus="1" get ID)
Each ESU has a distinct ID, such as the first year which is 77db037b-95c3-48d7-a3ab-a9c6d41093e0
Be the first to answer this question