New
#1
How to Create a Batch file for last logged on for a remote use
So I am looking to create some kind of batch file or script where I can click on it....it asks for the machine name, I enter it and then it displays the last logged on user. The following command
" wmic /NODE:"computername" computersystem get Username" gives me the desired results but I am trying to automate the process. I appreciate any help