List users have been logged in our PC's
03/22/2016 1850 views
I would wanted to know how I make an script that list the users have been logged on in the PC's of my company.
I thought the logical way is dir / c: \ users>%COMPUTERNAME% > xxx.txt but I do not know how I can save it. We have no place shared by all. I would prefer that KACE show me a list/report with that information. Would anybody know how to have that information?
Answer Chosen by the Author
Please log in to answer
You can create a KACE custom field using this Custom Inventory Rule
ShellCommandTextReturn(cmd /c dir /B c:\users)
Answered 03/23/2016 by: aragorn.2003