Associated Files called in Custom Inventory Rule
Is it possible to create a Software Inventory item that has a script loaded in Associated Files and call that script from the Custom Inventory Rule?
I have a script that will return the list of critical Windows updates. Right now I'm calling that from a file share via a Custom Inventory Rule. I would like to do away with the file share as the only thing it's doing is serving up a few scripts I call this way.
So can I add the file to the Associated Files as: critical_updates.vbs
Then in Custom Inventory Rule call it: ShellCommandTextReturn(cscript //nologo critical_updates.vbs)