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)
> %f & findstr /B /V "\-" %f - flip1001 8 years ago