1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/windows/get-wuapiversion.md
Reinhart Previano Koentjoro e44fd29d4c
windows/*: add more PowerShell commands (#11612)
* windows/*: add more PowerShell commands

* get-commandL fix typo

* Update install-module.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-30 08:09:50 +01:00

503 B

Get-WUApiVersion

Get the Windows Update Agent version. Part of external PSWindowsUpdate module. This command can only be run under PowerShell. More information: https://github.com/mgajda83/PSWindowsUpdate.

  • Get the currently-installed Windows Update Agent version:

Get-WUApiVersion

  • Send the current configuration data via email (SMTP):

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