The script checks if a Windows Update is installed, using Get-WMIObject commandlet and WMI information under ‘win32_quickfixengineering’ and ‘win32_ReliabilityRecords’.
About Win32_ReliabilityRecords:
They are enabled by default on Windows 7 but Group Policy has to be used to enable them on the server side. See Computer Settings – Administrative Templates – Windows Components – Windows Reliability Analysis.
MSDN Win32_ReliabilityRecords class https://msdn.microsoft.com/en-us/library/ee706630(v=vs.85).aspx