/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


CIR Query for detecting Windows 7 ESU license.

01/16/2020 1638 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



2 Comments   [ + ] Show comments

Comments

  • have you been able to successfully pull a report in Kace that shows all of the machines that either have the ESU activated successfully and the ones that are not?
  • Yes,

    Here is the filter logic that we used to detect the absence of the year1 license key, you could always flip the logic to create a report that includes which systems DO have it.

    https://imgur.com/a/FDUrYSj

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