Hi everybody.

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?