Determine what computer(s) is/are running a script file
Posted on 2016-09-07
I have a client that is running some VB Script to download files from an FTP site via windows task scheduler.
Unfortunately, they are not entirely sure what computer(s) are running this script. As part of the script, we are creating a log file every time the script is run, and storing that in a folder on their server.
What I would like to do is determine what computer ran the script. Is there a way to capture either the computer name or userID of the user that actually ran the script, even if that script is located on a network server