久しぶりのPowerShell
イベントログを取得する。
フィルタにて。
$xml = @' <QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[System[TimeCreated[@SystemTime>='2010-10-14T15:00:00.000Z' and @SystemTime<='2010-10-21T15:00:00.999Z']]]</Select> </Query> </QueryList> '@ Get-WinEvent -FilterXml $xml