Need a relevance query to get the list of installed KB patches

@tarwaniv

Here is a post that should help get you started.

Add a whose clause to filter for 7 days (or tweak the wmi call and add your filter there).