1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 09:45:59 +02:00
tldr/pages/windows/get-wusettings.md

14 lines
505 B
Markdown
Raw Normal View History

# Get-WUSettings
> Get the current Windows Update Agent configuration. Part of external `PSWindowsUpdate` module.
> This command can only be run under PowerShell.
> More information: <https://github.com/mgajda83/PSWindowsUpdate>.
- Get the current Windows Update Agent configuration:
`Get-WUSettings`
- Send the current configuration data via email (SMTP):
`Get-WUSettings -SendReport -PSWUSettings @{SmtpServer="{{smtp_server}}"; Port={{smtp_port}} From="{{sender_email}}" To="{{receiver_email}}"}`