I have a script that locates the PC's security log and exports it to a file on the server.
The only problem with the script is that I do this for about 30 computers. Currently we do the audit manually and place the output file in a folder corresponding to the PC's name
IE: Workstation 13's security log goes to \\server\security audit\workstation 13
What I'd like to do is automate this script so that it will save to the correct folder based on the PC's name.
The only problem with the script is that I do this for about 30 computers. Currently we do the audit manually and place the output file in a folder corresponding to the PC's name
IE: Workstation 13's security log goes to \\server\security audit\workstation 13
What I'd like to do is automate this script so that it will save to the correct folder based on the PC's name.