Hi, I've created a script which pulls User details from AD and puts them in a csv file. I want to auto run this script every month so to do this I have created a task schedule to run a batch file of the powershell script.
The problem I have is that the csv file is being overwritten each time the script runs. I want it so that a new csv file is created each time and named differently.
I'm new to all of this so not sure where to go with it.