This continues #5.
It turns out, starting Windows PowerShell is not instantaneous, and when we are repeatedly calling PowerShell commands, we are slowing down the program.
Think about whether this situation can be improved.
One possible approach would be to use PHP's popen, but that'll need some investigation.