Long PowerShell scripts: What are the implications and how to regain control and stability

Suddenly the “simple” task you initially set out to do evolves into something business critical with more and more functionality needed.
Scripts grow and complexity becomes overwhelming.

When writing PowerShell, the most important challenge/threat is posed by the ever changing and growing specifications for the task at hand
The script gets difficult to read and understand and often impossible to extend without breaking something else.
This is especially the case when multiple people with varying PowerShell skill sets and coding habits make modifications.

All together the script often ends up volatile, inconsistent and error prone with re-write as the only solution for implementing new functionality or just to make it stable.
It doesn’t have to be that way!

ONTOLICA by SURFRAY | (C) 2017, 37229539