Use this script to run against multiple Windows hosts to see what CCM updates are available for install, if any.
Windows References: CCM Software Update Client - WMI Class: https://docs.microsoft.com/en-us/mem/configmgr/develop/reference/core/clients/sdk/ccm_softwareupdate-client-wmi-class