Journal #16

Konnichiwa!

Wow, I started this issue in 2023-09-24, then updated it last sometime in 2023-10… – and then only again many months later, in March 2024!
Granted, I did forget about it a bit, but in reality, not much has happend, development-wise (or otherwise 😢 ) in the meantime.

So, I updated it with the few changes I did actually do in the last couple of days and will then publish it, before it gets too old.

Code

Powershell module saoe

Details: Split-saoeModule

At my day job, I’ve inherited the maintenance work of a Powershell module, with 100+ functions in it, spread over ca. 10'000 lines in a single file.

The plan was to split this monolith into separate *.ps1-script files, for better maintainability: That way it should be easier to mull over the individual commands; to develop, experiment, test – or simply: maintain – them.

We use that process already for a newer module and therefore also have a helper function that will then combine these files again into a single *.psm1 module file (similar to what I do with my saoe module).

Based on https://stackoverflow.com/a/40267174

Interesting Videos