Question:
In Windows 10, using power-shell how do I list all installed features, updates, programs, and hotfixes applied to a system; in order of date applied.
I see that Get-HotFix will do all Updates and Security Updates, but not .NET framework features or programs.
Answer:
Using the query below this will have the Installed date first and then name version and vendor.
1 2 |
$installedProducts = Get-WmiObject Win32_Product | select installdate, name,version, vendor | Sort-Object installdate -Descending |
The install date is described here: https://msdn.microsoft.com/en-us/library/aa394378(v=vs.85).aspx
And the format of the data is described here:
https://msdn.microsoft.com/en-us/library/aa387237(v=vs.85).aspx