Powershell Assistance

Keith Tan 1 Reputation point
2021-03-16T08:29:41.243+00:00

Hi, I would really appreciate any help that I can get here. So this is the scenario. I have currently created a powershell script to capture all suspicious login. So everyday, any new entries will be edited in the original .csv file. What I would like to do is to create a copy of the original and edit the copied version and then capture all suspicious login. Everyday will be the same. Would really really appreciate any help here. Thanks!

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,976 Reputation points Volunteer Moderator
    2021-03-16T08:36:38.737+00:00

    Instead, you can copy and rename existing file to Capture_<todaysDate>.csv and run your existing code which will edit new entries in your original Capture.csv file and continue the same process everyday


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.