Powershell to identify CVE from list

I agree with Olaf. A daunting task for PowerShell. You might want to look into third party tools like Nessus from Tenable.

I also found this via google:
https://help.ivanti.com/iv/help/en_US/isec/API/Topics/CVE-PS-Example.htm