automate Checking vulnerabilities on Windows


i’m working on a project (vulnerabilty manager) where i have to find vulnerabilities on different OS’s, for linux it’s simple i have to check installed packages and match them with CVE list, but what about windows and windows-server? ps: i’m using python