4

我正在运行 Windows 2003,我想在特定时间获取事件列表......在 12:06 pm 之后。那时我怎样才能只获得那些事件?我试过这个:

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

但我收到一个错误:

Cannot bind parameter 'InstanceId.... 
4

1 回答 1

11

这有效:

 powershell -command  "get-eventlog application -after ([datetime]'3/15/2013 12:06:00 pm')"
于 2013-03-15T23:05:23.307 回答