CmdID

CmdID / Commands

get-wuhistory

Get the history of installed updates from Windows Update. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

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-WUHistoryIdentify

List the last 10 installed updates

Get-WUHistory -Last 10Identify

List all updates installed from a specific date to today

Get-WUHistory -MaxDate dateIdentify

List all updates installed in the past 24 hours

Get-WUHistory -MaxDate (Get-Date).AddDays(-1)Identify

Send the results via email (SMTP)

Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="smtp_server"; Port=smtp_port From="sender_email" To="receiver_email"}Identify