Page 1 of 1

find computer user last logon

Posted: Wed Apr 27, 2011 8:42 am
by cymba
Hi,

i am trying to apply commands to my kixtart to echo users in a security group's last logon and the computer they last logon to. I have something, but it is not working. Hopefully you can help.

IF INGROUP("CORPGroupWEST")

@echo %date%,%time%,%username%,logon,%computername% >> suswestLogonData$logons.csv



Thanks in advance.

find computer user last logon

Posted: Wed Apr 27, 2011 8:42 am
by cymba
Hi,

i am trying to apply commands to my kixtart to echo users in a security group's last logon and the computer they last logon to. I have something, but it is not working. Hopefully you can help.

IF INGROUP("CORPGroupWEST")

@echo %date%,%time%,%username%,logon,%computername% >> suswestLogonData$logons.csv



Thanks in advance.