/build/static/layout/Breadcrumb_cap_w.png

CIR to combine MS Office 2010, 2013, 2016 license status to one report.

On any machine we can have 1-3 different versions of MS Office installed, 2010, 2013, 2016 and the OS can be either x86 and x64  We wanted one CIR to report on to make it easy to search for specific lines in reporting by using "if contains or does not contain" filtering.

Here is the CIR I came up with:

thanks to flip1001 for the contriution!

ShellCommandTextReturn(c:\windows\system32\cscript //nologo "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /dstatus > %g & c:\windows\system32\cscript //nologo "C:\Program Files\Microsoft Office\Office15\ospp.vbs" /dstatus >> %g & c:\windows\system32\cscript //nologo "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatus >> %g & c:\windows\system32\cscript //nologo "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /dstatus >> %g & c:\windows\system32\cscript //nologo "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /dstatus >> %g & c:\windows\system32\cscript //nologo "C:\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" /dstatus >> %g & findstr /B /V "Input Error" %g > %f & findstr /B /V "\-" %f)

Comments

  • To get rid of the lines in the output that begin with hyphens, you can add after the last %g

    > %f & findstr /B /V "\-" %f - flip1001 8 years ago
    • thanks for adding to this I updated it with your contribution. I have found this very useful to check kms status. We are cutting over to a new kms server, the old one could not support win10 and of16. Due to deepfreeze and kms client side caching we had problems with just changing the kms server pointer in dns - SMal.tmcc 8 years ago
This post is locked
 
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