How to remotely install windows updates?

Good afternoon.

Is there any utility/command to work remotely, with updates on the WSUS clients?
That is known on the records of the state - the number of required/installed updates. It is clear that there are approved updates. It is clear that the domain policy can be set whether to automatically install.
But it is quite a mystery to me, as not coming RDP (or online) and causing wuapp (system window about the search and installation of updates) you can run the command setup.

Inexperienced help, please.
June 3rd 19 at 19:33
2 answers
June 3rd 19 at 19:35
wuauclt.exe /detectnow
wuauclt.exe /downloadnow
wuauclt.exe /updatenow
It seems that the key /updatenow works only if you have enabled automatic updates.
But thanks for the search direction of the solution. - darius52 commented on June 3rd 19 at 19:38
well , because it is itself :).

You can look at utilities help PsExec from the Sysinternals Suite set. Well, the rest pile up. - Lurline commented on June 3rd 19 at 19:41
June 3rd 19 at 19:37
From free - PowerShell Get-WUInstall:
# Requires PowerShell 5.0 or newer
# Apparently NUGET is required for the PSWINDOWSUPDATE module
Install-PackageProvider NuGet -Force
Import-PackageProvider NuGet -Force
# Apparentely PSWindowsUpdate module comes from the PSGallery and needs to be trusted
# See
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
# Now actually do the update and reboot if necessary
Install-Module PSWindowsUpdate
Get-Command –module PSWindowsUpdate
Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d -Confirm:$false
Get-WUInstall –WindowsUpdate –AcceptAll –AutoReboot -install


But it works not on all updates. Found out 8 set 7, and 1, though seen, but to put it turned out only a button in the wuapp.
And report to wsus itself does not send. Report go of his succession as usual.

Find more questions by tags WindowsWindows Server