I need to be able to inventory the information about the fonts currently installed in our machines (around 200,000). It seems some users installed fonts they were not supposed to (due to licensing restrictions and so on) and now the company is facing legal problems.
Problem is: I know how to deploy packages through SCCM
, but I have no familiarity whatsoever with inventorying and development. I went online looking for a solution and got something like this:
For Each objFont in colItems
Set m = objFolder.ParseName(objFont.Name)
foundry = objFolder.GetDetailsOf(m, 5)
'msgbox fabricante
objFile.WriteLine (objFont.Path & vbtab & objFont.Name & vbtab & foundry)
Next
This script works fine, For my machine. But to be able to gather that info from all the machines, I was told I'd have to turn that into a WMI
class, that the inventory would then call and receive/treat the output. Is that possible?