Get Antivirus information

I’m attempting to gather antivirus software information, including up to date info and the name. I’m using $immycomputer.inventory.antivirus, where $immycomputer is just a get-immycomputer script to exclude some incompatible machines. Anyone using anything similar to this?

I’m using the “Get-AntivirusProduct” Inventory script as per below.

Thanks, I figured it out. It was a field name that had an incorrect space.