======Microsoft - Scripting - PowerShell - Notes - WMI - Win32_QuickFixEngineering====== [[https://msdn.microsoft.com/en-us/library/aa394391(v=vs.85).aspx|MSDN - Win32_QuickFixEngineering class]] =====Oddities===== - // "Updates supplied by Microsoft Windows Installer (MSI) or the Windows update site (http://update.microsoft.com) are not returned by Win32_QuickFixEngineering." // \\ Source: [[https://msdn.microsoft.com/en-us/library/aa394391(v=vs.85).aspx|MSDN - Win32_QuickFixEngineering class]] - If you do not properly (re-)format the InstalledOn property date it will show up as empty. - Compare:$objFixes = Get-WmiObject Win32_QuickFixEngineering $objFixes | Select-Object CSName,HotFixID,@{Name="InstalledOn"; Expression={([datetime]$_.psbase.properties["InstalledOn"].Value).ToLocalTime()}} // The .ToLocalTime() is not required and was added to take the local timezone into account. // - With:$objFixes = Get-WmiObject Win32_QuickFixEngineering $objFixes | Select-Object CSName,HotFixID,InstalledOn - Source: [[https://social.technet.microsoft.com/Forums/windowsserver/en-US/6643d484-886e-45b4-a216-24fd30650afa/getwmiobject-class-win32quickfixengineering-no-install-date?forum=winserverpowershell|Microsoft TechNet Forum - Windows Server > Windows PowerShell - Get-WmiObject -Class Win32_QuickFixEngineering no install date.]] - A "Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2" may show up in the Windows Update "View update history" as one KB number and as another in Win32_QuickFixEngineering. - Example: Update shows up as [[https://support.microsoft.com/en-us/kb/4019112/|KB4019112]] in "View update history" but is shown in Win32_QuickFixEngineering as [[https://support.microsoft.com/en-us/kb/4014504/|KB4014504]] (one of the sub-KBs mentioned on [[https://support.microsoft.com/en-us/kb/4019112/|KB4019112]]) depending on which version of the .NET Framework was installed/patched. // Observed on Windows Server 2008 R2, and on Windows Server 2012 R2 with [[https://support.microsoft.com/en-us/kb/4019111/|KB4019111]] and [[https://support.microsoft.com/en-us/kb/4014581/|KB4014581]].