Quantcast
Channel: LANDESK User Community : Popular Discussions - Patch Manager
Viewing all articles
Browse latest Browse all 3522

Custom Query to see the last successful patch installation date (clean/repair)?

$
0
0

Hello all,

 

Trying to create a custom query to see the last successful patch installation date. What I mean by this is if you go to a machine and go to "Security and Patch Information"  then go to "Clean/repair History"  you'll see the last repair/install of a patch and the date. I'd like to create a query that will show me this.

 

 

So far all I've come up with is this:

 

 

"Computer"."Patch and Compliance Definitions"."Patch Install Date"  >  "GetDate() -31"

 

 

Which only shows me ones that HAVE updated in the past 31 days. Reversing the greater than sign actually gives me no results (EDIT: technically it gives some, I was also sorting by OS which originally gave me none), and I couldn't figure out a way to properly reverse things -- There are even some machines with nothing in the clean/repair log, which I expected to show. So, clearly something's a bit off with my thinking, and I can't figure out what it might be.

 

 

Also, in a means of sorting things, I'd like them sorted by date order. I tried adding in the same parameter (Patch Install Date) and sorting by that, but what it wound up doing was creating a seperate entry for each patch that was installed (so three patches installed means the machine was listed three times).

 

Any help in these areas would be greatly appreciated, though obviously the actualy query is more important than the sorting.

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 3522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>