Scripting Question

CIR Query for detecting Windows 7 ESU license.

01/16/2020 822 views

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

0 Comments   [ + ] Show comments


Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ