Get-WUHistory
Get the history of installed updates from Windows Update. Part of external
PSWindowsUpdatemodule. This command can only be run under PowerShell. More information: https://github.com/mgajda83/PSWindowsUpdate.
- Get list of update history:
Get-WUHistory
- List the last 10 installed updates:
Get-WUHistory -Last 10
- List all updates installed from a specific date to today:
Get-WUHistory -MaxDate
- List all updates installed in the past 24 hours:
Get-WUHistory -MaxDate (Get-Date).AddDays(-1)
- Send the results via email (SMTP):
Get-WUHistory -SendReport -PSWUSettings @{SmtpServer=""; Port= From="" To=""}
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
