Ok. Just to get this out there, powershell is a joke.

And yes, once you fight a week, you can make it read a file and do other nice things. Until it no longer works and you spend a week trying to memorize why the syntax was so bad and how did you made it in the first place.

Powershell is the de facto example of how to not make a language.
_________________________
!

download KiXnet