Zealous637
New member
- Local time
- 4:27 AM
- Messages
- 3
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
" wmic /NODE:"computername" computersystem get Username" gives me the desired results but I am trying to automate the process. I appreciate any help
My Computer
At a glance
Win 7 Pro
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Dell
- OS
- Win 7 Pro
The script only tells who logged in last. Nothing more nothing less. It's like going that machine and looking at the locked screen information, assuming the screen is locked. That will also tell you who is logged in. It's not much to abuse by that information.