SCCM: detection methods for Microsoft update .MSU application deployment
Some critical updates can be missed in historical deployments. In this case, you may need to push them via custom application deployment.
The next scripts may be used as detection methods for Microsoft Update .MSU application deployment type. Each of the scripts may take different time to execute on different clients depending on their configuration and performance. SCCM has default time limit of 60 seconds for script execution. Therefore, it is important to choose right script for each particular deployment.
The following scripts may have different execution time based on system performance. Please keep that in mind and test them before integration into your regular deployment process.
POWERSHELL SCRIPT 1.
POWERSHELL SCRIPT 2.