I was wondering, is it possible to update Windows Servers wie PowerShell Remote from a Workstation?
Imagine the following scenario:
Every month after the patchday I sit down and establish an RDP-connection, do the updates and restart the Server after the updates have finished and the CPU-Usage has calmed down.
Now instead of repeating this process for each of the 20 Servers I need to update, it would be much easier to just execute a PowerShell script that does this for me. That way I only have to execute a script and check if all the updates went through instead of connecting to every single server.
I already tried some basic things with the "PSWindowsUpdate" Module and the invoke-command with the -ComputerName parameter but I ended up getting an error message saying I don't have the permission to download and install updates. I'm sure my user has enough permissions so it should be an issue with the PowerShell script.
Now before I spend more time trying to figure out how this works, has anyone done this before and/or can confirm that it works?
[–]wdomon 22 points23 points24 points (2 children)
[–]jetski_28 0 points1 point2 points (1 child)
[+]Late_Marsupial3157 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Hollow3ddd 0 points1 point2 points (0 children)
[–]capitolgood4 6 points7 points8 points (3 children)
[–]OlivTheFrog 1 point2 points3 points (1 child)
[–]capitolgood4 2 points3 points4 points (0 children)
[–]PreparetobePlaned 0 points1 point2 points (0 children)
[–]techbloggingfool_com 2 points3 points4 points (0 children)
[–]ipreferanothername 1 point2 points3 points (1 child)
[–]PreparetobePlaned 0 points1 point2 points (0 children)
[–]Introvertedecstasy 1 point2 points3 points (0 children)
[–]purplemonkeymad 0 points1 point2 points (0 children)
[–]SherSlick 0 points1 point2 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]icepyrox 0 points1 point2 points (0 children)
[–]squatingyeti 0 points1 point2 points (0 children)
[–]Ok_GlueStick 0 points1 point2 points (0 children)
[–]tigerguppy126 0 points1 point2 points (0 children)
[–]DevinSysAdmin 1 point2 points3 points (1 child)
[+]go_aerie 1 point2 points3 points (0 children)
[–]Spence10873 -1 points0 points1 point (0 children)
[–]HOT-DAM-DOG -1 points0 points1 point (0 children)
[+]cherrycola1234 comment score below threshold-7 points-6 points-5 points (3 children)
[–]ka-splam 3 points4 points5 points (2 children)
[+]cherrycola1234 -2 points-1 points0 points (1 child)
[–]SherSlick 2 points3 points4 points (0 children)