potatoqualitee / kbupdate

🛡 KB Viewer, Saver, Installer and Uninstaller
MIT License
326 stars 48 forks source link

Massive memory consumption #213

Open ksl28 opened 1 year ago

ksl28 commented 1 year ago

Hi,

When using the Get-KbNeedUpdate in pwsh / vscode, it consumes a massive amount of memory. PSVersion 7.3.2 Windows Host: Windows Server 2022 VSCode: 1.75.1

image

It acutally starts to consume quite a lot of memory / CPU, as soon as i type in the cmdlet: Get-KbNeededUpdate -ComputerName dk1hv01

When i then execute the cmdlet, it really kicks off.

I was hoping to execute this on all our servers, but it would require some massive resources to do this.

Is there a better way, to scan the target servers, for these criterias: All Windows Cumulative updates (No SQL, Exchange, etc) A quickscan - i just need to know, if the latest (or 3 latests) CUs have been installed