WSUS server abuse
Get all information about the database
Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\setup
Define $wsus
View updates
Get target groups

Approve update
Using UpdateServices
Upprove the updates
Abusing WSUS server for domain compromise\
Using WSUSpendu.ps1
References
Last updated