Get the history of installed updates from Windows Update. Part of external
PSWindowsUpdate
module. This command can only be run under PowerShell. More information: https://github.com/mgajda83/PSWindowsUpdate.
Get-WUHistory
Get-WUHistory -Last {{10}}
Get-WUHistory -MaxDate {{date}}
Get-WUHistory -MaxDate (Get-Date).AddDays(-1)
Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="{{smtp_server}}"; Port={{smtp_port}} From="{{sender_email}}" To="{{receiver_email}}"}