Microsoft release windows patches every month and it's important that we keep our systems with the latest patch as they fix vulnerabilities and errors in windows and associated software.
Keeping our windows with the latest patch level by installing the hotfixes helps to prevent our systems from malware, thefts, and attacks.
In an enterprise, we use windows clusters to make our critical application highly available by using the clusters fail-over feature. Systems that are part of the cluster need to be very similar in terms of configuration, patch level, etc.
Sometimes while troubleshooting the issues with a cluster node or with any system we require comparing the patches in the two systems, performing this comparison manually is a complex and time-consuming task, so we have come up with a PowerShell script that will compare the hotfixes in the 2 systems and give you a nice HTML report with the patch comparison in the 2 systems.
We just need to provide the names of the 2 computers as input and modify the script with the SMTP server and the email addresses from which you want to send the email and the email address of the recipient.
Hope you all find your solution for How to compare hotfixes in 2 computers.