Central to your command is a parameter -- a weak parameter will end with a weak script. PowerShell commands come in all shapes and sizes that can cover something simple such as getting information ...
Each of us has our own unique way of solving a problem with PowerShell. We all tend to code how we think; linearly. Our brains go from point A to point B -- sending those messages to our fingers -- ...