Perhaps this example in the script gallery will help:
Other examples here:
Richard Mueller - MVP Directory Services
What is a srtip?
Logons are stored in teh Eventlog on all DCs. you need to scan all with your time range.
Look into the Repository as there are numerous scripts that report various aspects of logons.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?