I want to check via PowerShell for the latest date when security updates were installed. Therefore I'd like to use something like this:
Get-WmiObject Win32_QuickFixEngineering | Where-Object {
$_.Description -eq "Security Update"
}
I tried using Get-CimInstance -Class
, but that's not working on Windows 7.
Output is like this:
Source Description HotFixID InstalledBy InstalledOn ------ ----------- -------- ----------- ----------- VM10111 Security Update KB4014579 NT-AUTORITÄT\SYSTEM 05.11.2017 00:00:00
Is the date incorrectly formatted or incorrectly displayed? How to avoid this?