Powershell Filter by Time

I am running Windows 2003, and I want to get a list of events at a specific time ... after 12:06 pm. How can I get only those events at a time? I tried this:

powershell get-eventlog application -after "3/15/2013 12:06:00 pm" 

but I get an error:

 Cannot bind parameter 'InstanceId.... 
+4
source share
1 answer

it works:

  powershell -command "get-eventlog application -after ([datetime]'3/15/2013 12:06:00 pm')" 
+10
source

All Articles