Notification

Icon
Error

Update Windows with PSWindowsUpdate - Remotely update Windows (10, Server)

Posted: Friday, January 17, 2020 5:32:57 PM(UTC)
Patrick Kuhl

Patrick Kuhl

Member Original PosterPosts: 1
1
Like
I made a Powershell script that can be launched from Lansweeper with the installer here that will update a Windows 10 (tested) or Windows Server (tested on 2016) machine remotely. It utilizes PSWindowsUpdate in Powershell (more details here: http://woshub.com/pswindowsupdate-module/) to pull updates from Microsoft. I find it useful for servers, as we have automatic updates turned off for them in our environment. You may need to run it once manually from the computer in Powershell as admin (eg. from Remote Desktop or physically at the server). After that though, it should work from Lansweeper. I can't guarantee it will work for you, but this should get you started in the right direction if you're looking to do this sort of thing.
Handles attachments
LS-UpdateWindowsRemotely.zip (1kb) downloaded 169 time(s).
Windows Server Remote UpdateDownload Package
DescriptionRun the Remote Windows Update Powershell script
Final ActionNothing
Max. Duration0 min(s), 4 hour(s)
RescanYes
Steps
1. Run Update Script
TypeCommand
Return Codes 0,1641,3010
SuccessStop (Success)
FailureStop (Failure)
Command powershell.exe -executionpolicy bypass -file " {PackageShare}\Scripts\LS-UpdateWindowsRemotely.ps1"

Active Discussions

Lansweeper Close ticket failed
by  JohnnyL   Go to last post Go to first unread
Last post: Yesterday at 6:51:21 PM(UTC)
Lansweeper SNMP Asset dont work
by  implenia  
Go to last post Go to first unread
Last post: Yesterday at 3:44:02 PM(UTC)
Lansweeper Remote IT Asset MGMT during the Covid-19 Crisis
by  Esben.D   Go to last post Go to first unread
Last post: Yesterday at 1:14:27 PM(UTC)
Lansweeper Unable to transfer user's data prior to removal
by  jbruyet  
Go to last post Go to first unread
Last post: 4/1/2020 11:40:35 PM(UTC)
Lansweeper Scanning IP Range Subnet
by  ethanthekiwi   Go to last post Go to first unread
Last post: 4/1/2020 9:16:35 PM(UTC)
Lansweeper Toner Levels Missing
by  brodiemac-too  
Go to last post Go to first unread
Last post: 4/1/2020 8:42:19 PM(UTC)
Lansweeper WLC 5508 question
by  Faktotum   Go to last post Go to first unread
Last post: 4/1/2020 1:10:23 PM(UTC)
Lansweeper SNMPv3 global credentials ?
by  JeremySG  
Go to last post Go to first unread
Last post: 4/1/2020 9:01:16 AM(UTC)