potatoqualitee/kbupdate

Massive memory consumption

ksl28 opened this issue · 0 comments

ksl28 commented

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