r/PowerShell • u/Pimzino • Apr 03 '24
OpenSource PSWindowsUpdate alternative OpenWindowsUpdate
Hi All,
I am an IT professional with around 8 years of PowerShell experience. I have previously built modules / functions for the business I work for and PSWindowsUpdate is something we have used on and off for sometime. Specifically for client patching during an OSProvisioning phase.
We have found multiple issues with module more times than not and with the module being closed source it is difficult to see / contribute to PSWindowsUpdate so therefore we are left in the dark with a non-working module. Issues we have come across are countless, sometimes the module returns a HRESULT error which when looking online provides little to no information, other times it supposedly completes fine however when checking the logs the updates failed to install with no error messages etc. I could go on for hours.
Now the way I see it, PowerShell is made by Microsoft which in no way is a company known for releasing OpenSource tooling however I have always viewed PowerShell as being a community driven language / tool with a ton of flexibility.
My proposal here is that I would like to start a whole new project, one maintained by the community for the community that we can all enjoy and contribute to. The project will be completely open source hosted on GitHub. This will basically be PowerShell functions that interact with the WindowsUpdate API (ComObjects). I have tested it with some 'dirty code' and it works.
What I am trying to understand is, if I start this project, will the community be interested in contributing to it with me as I wont have time to fully manage the project on my own. Please let me know.
I would add a Poll but Reddit wont let me.
View all comments
Show parent comment
0
u/Pimzino Apr 03 '24
I understand that but like I said the error I only come across using the module because when I run updates in the UI straight after they always work.
Given my experience I wouldn't be on here with this idea and willing to put in a ton of work to replace a product that currently exists if there weren't finicky issues with it. I'm not the only one, a ton of people have issues with it, its all over tons of forums as well as on reddit.