i made a powershell script but since i'm not an expert on powershell i can see a lot of improvements to be made. the script is done and working but i want it optimized and have the arrays to be handled correctly.
my guess is the script requires a complete rewrite but the math and functions are all there so it should be not a too big task. i can add additional notes in the script to explain things further and to make things easier. the script is around 80 lines of code now but can probably be reduced drastically since i did a lot of workarounds to get it to do what i want.
please don't apply for this job unless you know powershell very well. any amateur things i can do myself :-)