Oh I am looking at another function called GetAVinfo written by Lonkero. I thought that was the one that you meant as I could not find the one you mentioned. I think the GetAvinfo does the same thing as the WMIGetAV function. I just need to fix the coding with GetAvinfo as I am getting

“Error in expression: this type of array not supported in expressions.

The function I am looking at now is GetAVinfo() - retrieve antivirus product and status information!