Hello All,

Despite googling around I just cannot find out how to get hotfix to give me the last 2 hotfix updates that have been applied to a machine. I appreciate that I can use a sort-object -descending order however if I just want the last 2 updates applied is there a way of getting hotfix to return this information.


Many thanks


Get-HotFix | Sort-Object -Property InstalledOn | Select-Object -Last 2

Thanks Olaf