lol cheeky as.
server = 'x' # name of the target computer to get event logs
source = 'x' # 'Application' # 'Security'
hand = win32evtlog.OpenEventLog(server, source)
flags = win32evtlog.EVENTLOG_BACKWARDS_READ |
win32evtlog.EVENTLOG_SEQUENTIAL_READ
total = win32evtlog.GetNumberOfEventLogRecords
On 13/01/2013 05:55, [email protected] wrote:
> On Saturday, January 12, 2013 8:34:01 PM UTC+11, Tim Golden wrote:
>> On 12/01/2013 06:09, [email protected] wrote:
>>
>>> I am looking to write a short program to query the windows event
>>
>>> log.
>>
>>>
>>
>>> It needs to ask the
On Saturday, January 12, 2013 8:34:01 PM UTC+11, Tim Golden wrote:
> On 12/01/2013 06:09, [email protected] wrote:
>
> > I am looking to write a short program to query the windows event
>
> > log.
>
> >
>
> > It needs to ask the user for input for The event type (Critical,
>
> > Error, a
On 12/01/2013 06:09, [email protected] wrote:
I am looking to write a short program to query the windows event
log.
It needs to ask the user for input for The event type (Critical,
Error, and Information), and the user needs to be able to specify a
date since when they want to view result
On 12 Jan, 16:09, [email protected] wrote:
> Hi,
>
> I am looking to write a short program to query the windows event log.
>
> It needs to ask the user for input for The event type (Critical, Error, and
> Information), and the user needs to be able to specify a date since when they
> want