mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 12:43:00 +00:00
19 lines
599 B
Plaintext
19 lines
599 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, windows]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}"}`
|