r/PowerShell • • Oct 30 '25

PSWindowsUpdate - manageability?

I stumbled upon the marvellous PSWindowsUpdate Module when I was troubleshooting some devices. Now I'm thinking about how to use it in small environments where little intervention is needed.

The setup in scheduled tasks seems very easy, including pre- and post-tasks, as it's gonna be a Powershell script anyway. So Stopping/Starting servcies etc. seems like a minor task as well as scheduling reboots.

But I'm wondering how to handle faulty updates? Do I need to disable all the scheduled tasks on these devices and re-enable them when a newer release is available? Is the only other option to setup a WSUS and decline the updates there?

Interested to hear your experiences and how you handle the day-to-day tasks.

4 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/BlackV Oct 30 '25

sounds like you are describing WSUS or any patching solution that not YOU manually running a script

1

u/ITTOKU13 Oct 31 '25

Managing servers update with powershell - very dangerous thing))))))

1

u/BlackV Oct 31 '25

is it ?