Script to monitor the logged in user. If a different person found then email.
I have a txt file that has the machine name and the user name. to whome the machine is allotted.
I want a script to scan all machines in this txt file every 4 hrs. If there is a mismatch then email.
powershell or vbs script.