Hi all,
i am trying below command and it is givng me error please help how i can display the application event logs within a date range
get-eventlog -logname application -after "3/13/12" -before ([datetime]"March 15,2012")
i have tried below also but even below also not working cam someone please help me on this?????
$StartDate = get-date 3/13/12
$EndDate = get-date 3/15/12
get-eventlog -log Application -entrytype Error -after $StartDate -before $EndDate
Thanks in Advanc