CmdID

CmdID / PowerShell / Cmdlets / Invoke

Invoke-WsusServerCleanup

Performs the process of cleanup on a WSUS server. Windows Server PowerShell reference

From the Windows Server PowerShell reference 9 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

9 in the Windows Server PowerShell reference
-CleanupObsoleteComputersSpecifies that the cmdlet deletes obsolete computers from the database.
-CleanupObsoleteUpdatesSpecifies that the cmdlet deletes obsolete updates from the database.
-CleanupUnneededContentFilesSpecifies that the cmdlet deletes unneeded update files.
-CompressUpdatesSpecifies that the cmdlet deletes obsolete revisions to updates from the database.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DeclineExpiredUpdatesSpecifies that the cmdlet declines expired updates.
-DeclineSupersededUpdatesSpecifies that the cmdlet declines superseded updates.
-UpdateServerSpecifies the object that contains the WSUS server.
-WhatIf, -wiShows what would happen if the cmdlet runs.