How to get installed windows update using PowerShell for remote computer
Get-CimInstance -ClassName Win32_QuickFixEngineering
$DCOM = New-CimSessionOption -Protocol Dcom
$Cred = Get-Credential
$CimSession = New-CimSession -ComputerName DCRDSServer -SessionOption $DCOM -Credential $Cred
Get-CimInstance -CimSession $CimSession -ClassName Win32_QuickFixEngineering