Recently at my job I've got a task to write script/program to count how many users had logged to workstation in the last month. While my colleague tried to complete this task with C#, I've decided to use old good Batch. In fact, I was thinking about using PowerShell at first, but since all computers this script will be run in runs Windows XP and doesn't have PowerShell installed. To accomplish what I want I've found out about VBS script called EVENTQUERY which exists in Windows XP. After reading documentation I've decided that it would allow me to do . . . → Read More: Count number of users who logged on to workstation in the last month (with Batch script)





Recent Comments