Today’s one-liner Wednesday will be great for system admins that need to see when and which updates were installed on a single server or multiple servers. It’s a quick and dirty way to do it, and I’m going to look around and see if there is a one with better formatting, but this gets the job done for now.
If you only need updates on one computer for the month of September 2022, this is all you need to do.
Export-InstalledPatchTOPDF -ComputerName localhost -month 9 -Year 2022
If you need multiple computers and want for a whole year, you would write this.
Export-InstalledPatchTOPDF -ComputerName localhost, server01, server02, server03 -Year 2022
And that’s it. As mentioned the output formatting could be a little better, but the functionality is great, and will reach out to him to see if he will be fixing it. If not, I’ll definitely be looking for another option.
PowerShell Gallery:
ExportInstalledPatchToPDFUpdated
Blog:
Prakash78