List all servers (better FQDN or IP) in a txt file name "servers.txt". Keep the PowerShell script (say script.ps1) at the same location as the text file.
Create a text file (.txt) with the name "serverlist.txt" and mention all server's FQDN. In this example, we will get the hotfix details from 1st August to 30th August 2022.