Logging

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years ago.

  • Author
    Posts
  • #32897

    Participant
    Points: 0
    Rank: Member

    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.

  • #32898

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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 ;).

The topic ‘Logging’ is closed to new replies.