HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

Get-WUSettings — Get the current Windows Update Agent configuration. Part of external `PSWindowsUpdate` module. This

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecurrentcommandwindowsupdatecliget-wusettingsget
windows

Problem

How to use the Get-WUSettings command: 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>.

Solution

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}}"}

Code Snippets

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}}"}

Context

tldr-pages: windows/Get-WUSettings

Revisions (0)

No revisions yet.