https://www.myerrorsandmysolutions.com/how-to-get-a-list-of-pending-windows-updates-of-a-server-with-no-internet-access-using-powershell/
HOW TO get a list of pending Windows Updates of a Server with No Internet access using PowerShell