# Powershell to identify CVE from list

**URL:** <https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967>\
**Category:** PowerShell Help\
**Created:** [November 16, 2021, 9:15am UTC](https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967 "2021-11-16T09:15:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pm4698](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pm4698](https://forums.powershell.org/u/pm4698)\
**Post date:** [November 16, 2021, 9:15am UTC](https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967/1 "2021-11-16T09:15:43Z")

</div>

Hello all,

I was wondering if someone had a vulnerabilities list by CVE code in a txt file, could PowerShell after looping in txt contents to check if this CVE is identified in the specific machine?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [November 16, 2021, 10:22am UTC](https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967/2 "2021-11-16T10:22:46Z")

</div>

pm4698,  
Welcome to the forum. 👋🏽

I am very sceptical that this could be realised with a justifiable effort.

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [November 16, 2021, 7:15pm UTC](https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967/3 "2021-11-16T19:15:09Z")

</div>

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

> **[Download Nessus Vulnerability Assessment | Nessus®](https://www.tenable.com/products/nessus)**
>
> Nessus - The global gold standard in vulnerability assessment and built for the modern attack surface. Trusted by more than 30,000+ organizations worldwide.

I also found this via google:  
[https://help.ivanti.com/iv/help/en\_US/isec/API/Topics/CVE-PS-Example.htm](https://help.ivanti.com/iv/help/en_US/isec/API/Topics/CVE-PS-Example.htm)

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:20pm UTC](https://forums.powershell.org/t/powershell-to-identify-cve-from-list/17967/4 "2024-05-16T20:20:26Z")

</div>

Closed on May 16, 2024, 8:20pm UTC


