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>
This commit is contained in:

committed by
GitHub

parent
218768cb40
commit
e44fd29d4c
13
pages/windows/get-wuapiversion.md
Normal file
13
pages/windows/get-wuapiversion.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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}}"}`
|
Reference in New Issue
Block a user