【发布时间】:2014-08-19 18:25:31
【问题描述】:
这是我现在的一个有效查询。
powershell "Get-WinEvent -EA SilentlyContinue -FilterHashtable @{ProviderName='Microsoft-Windows-DriverFrameworks-UserMode';ID=2003,2100;StartTime='2014-08-18 16:01:57';EndTime='2014-08-18 23:59:59'} | where {$_.Message -match '27, 23'}| ConvertTo-Csv -NoTypeInformation | %{ $_ -replace """`r`n""",',' } | select -Skip 1| Out-File -Append c:\TEMP\TIMELINE\TEMP.csv"
我怎样才能改变它以使其获取:
(Event ID 2003)
OR
(Event ID 2100 and Message -match '27, 23')
谢谢你..
【问题讨论】:
标签: powershell