One of the principles I’ve always tried to stick with when writing code – in PowerShell or any other language – is Keep it Simple.
Keeping code simple makes it easier to understand, easier to debug and easier to maintain. My definition of simple code… Read the full text.