I have a current script that I want to add logging to. I have done basic logging before but on this one I want to output the log to a .txt file and have it record wins/losses for each day of the week Sunday-Saturday. With a column for wins and a column for losses. Wondering what the best/easiest way to do it would be.
You might consider editing your post and formatting your script properly (as indicated in the four bullet points above the posting textbox). it’s kind of hard to follow as-is. Or, even better, add your code to a Gist (in GitHub) and simply paste the Gist URL here.
That said, keep in mind that most folks here are using PowerShell professionally - you may need to be a little extra patient for help with something like this, even though it looks like fun ;).