Get-OSDUpdate

Get-OSDUpdate returns a list of Microsoft Windows and Office Updates

<#.SYNOPSISReturns an Array of Microsoft Updates​.DESCRIPTIONReturns an Array of Microsoft Updates contained in the local WSUS Catalogs​.LINKhttps://www.osdeploy.com/osdupdate/docs/functions/get-osdupdate​.PARAMETER GridViewDisplays the results in GridView with -PassThru​.PARAMETER SilentHide the Current Update Date information#>

Get-OSDUpdate

Since Get-OSDUpdate returns an array of hundreds of WSUS Updates, don't ever run this by itself in PowerShell. You are just going to get a seeming endless list of Updates

Get-OSDUpdate -GridView

Using GridView works as well. The selection is used with PassThru, so you can select one or more updates

And return all the properties of the selected updates

Scripting

But you probably want to script things out