Learn about Windows PowerShell
Note: We are no longer accepting entries for this event. See the due dates page for a list of all event due dates.
About This Event
Division
Beginner
Date of Event
April 27, 2010
Due Date
May 4, 2010
You need to retrieve the time that a workstation started. Because you still have a mixture of Windows 7, Windows Vista, and Windows XP computers, you cannot confidently use any of the newer event log entries. Instead, your research has revealed that you can get a pretty good estimate of the time a workstation started by querying the event log for the entry that states when the event log started. The event log entry you are looking for is seen in the following image.
Your script should include the ability to run against a remote computer, and it should only return the most recent instance of this entry.
2010 Scripting Games Links
Ed Wilson and Craig Liebendorfer, Scripting Guys