Coyote270WSM
IS-IT--Management
Hi All,
Normally I work in Autoit due to its ease of use, however, I am trying something new today. I have an urgent need to attach a script to a GPO that will read all of the user profiles on a domain PC, look for the existance of two specific users and then if both exist on a system output the computer name, the users name and last logon to that system to a log file stored in a network location.
I am willing to go out on a limb and ask if anyone has already written this and would be willing to share it only because of the time hack I am facing.
Otherwise, I have already found a code example on how to read the profiles list in the registry. It Wscript.Echo's the results. Any input on the best choices for commands to finish out the script so that I can start researching would be greatly appreciated.
V/r
Coyote270WSM
Normally I work in Autoit due to its ease of use, however, I am trying something new today. I have an urgent need to attach a script to a GPO that will read all of the user profiles on a domain PC, look for the existance of two specific users and then if both exist on a system output the computer name, the users name and last logon to that system to a log file stored in a network location.
I am willing to go out on a limb and ask if anyone has already written this and would be willing to share it only because of the time hack I am facing.
Otherwise, I have already found a code example on how to read the profiles list in the registry. It Wscript.Echo's the results. Any input on the best choices for commands to finish out the script so that I can start researching would be greatly appreciated.
V/r
Coyote270WSM