Some times the WSUS server on SCCM can stop. If the WSUSPool in IIS Application pools is stopped, WSUS will not function and SCCM will not update any clients.

In anticipation of further troubleshooting, here is a workaround script to check the Application Pool and start it if it is not running. This script can be adapted to check any IIS application pool.