Windows 7 Updates display

Hi! I am just wondering if anyone know how to write a cmdlet to display what new Windows Updates has been installed, and from there select the date, the size and so on…

 

Thanks!

Get-HotFix

You have also a very good module names PSWindowsUpdate available on the PowerShell Gallery.

Get-WUHistory -MaxDate (Get-Date).AddDays(-7)

or also

Get-WUHistory -Last 10