get-wuhistory
Get the history of installed updates from Windows Update. tldr-pages
On Windows
Windows
Get the history of installed updates from Windows Update. Part of external PSWindowsUpdate module. This command can only be run under PowerShell.
Get list of update history
Get-WUHistoryIdentifyList the last 10 installed updates
Get-WUHistory -Last 10IdentifyList all updates installed from a specific date to today
Get-WUHistory -MaxDate dateIdentifyList all updates installed in the past 24 hours
Get-WUHistory -MaxDate (Get-Date).AddDays(-1)IdentifySend the results via email (SMTP)
Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="smtp_server"; Port=smtp_port From="sender_email" To="receiver_email"}Identify