‎07-12-2024 09:51 PM - edited ‎07-23-2024 02:19 PM
Hey,
A few years ago I tried to improve the patch Tuesday report to make it less error prone and also to prevent it from marking devices as "out-of-date" when they get a new update next month.
The main issues I ran in were
Luckily, since time has passed and older operating systems have gone end-of-life. This is becoming less of an issue. The only remaining supported OS with no build number info is Server 2012.
So with that, I have created a new version of Patch Tuesday, that uses the old method for Server 2012, but the new method for all the rest. The new method is simply using the build number of the operating system to check whether it is up-to-date. Meaning that if you were to use it after Patch Tuesday August, the report should still be accurate (aside from Server 2012).
Before I use this to send it to everyone, please give it a try and let me know if you come across issues. I attached the code in a TXT file to this post.
‎07-16-2024 07:20 PM
You have same error.
The order of operations for Boolean algebra, from highest to lowest priority is NOT, then AND, then OR.
So code is incorrect or you have to write: (A or B) and C
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now