1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 08:35:44 +02:00
tldr/pages.es/windows/get-wuhistory.md
Starsoon 82eb0aa1b6
pages.es/windows/*: add Spanish translation (#16716)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-07-20 09:46:34 +03:00

867 B

Get-WUHistory

Obtiene el historial de actualizaciones instaladas desde Windows Update. Parte del módulo externo PSWindowsUpdate. Este comando solo se puede ejecutar en PowerShell. Más información: https://github.com/mgajda83/PSWindowsUpdate.

  • Obtiene la lista del historial de actualizaciones:

Get-WUHistory

  • Lista las últimas 10 actualizaciones instaladas:

Get-WUHistory -Last {{10}}

  • Lista todas las actualizaciones instaladas desde una fecha específica hasta hoy:

Get-WUHistory -MaxDate {{fecha}}

  • Lista todas las actualizaciones instaladas en las últimas 24 horas:

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

  • Envía los resultados por correo electrónico (SMTP):

Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="{{servidor_smtp}}"; Port={{puerto_smtp}} From="{{correo_remitente}}" To="{{correo_destinatario}}"}