<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bhunji2000</author_name>
  <author_url>https://blog.hatena.ne.jp/bhunji2000/</author_url>
  <blog_title>Gブログ</blog_title>
  <blog_url>https://bhunji2000.hatenadiary.org/</blog_url>
  <categories>
    <anon>Windows PowerShell</anon>
  </categories>
  <description>前日のイベントログをWMIオブジェクトで取得するプログラムを作成しました。WMIオブジェクトはGet-WmiObjectコマンドレッドで取得できます。WMIクエリを使用することにより指定した項目を取得することが出来ます。今回は、ログの種類(application、security、system)、イベント生成日付(前日日付)を指定します。実際に取得するオブジェクトですが、Win32_NTLogEventオブジェクトを使用します。LogFileプロパティによりログの種類を指定し、TimeGeneratedプロパティでイベント生成日付を指定します。TimeGeneratedプロパティはYYYYMM…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbhunji2000.hatenadiary.org%2Fentry%2F20091222%2F1261505346&quot; title=&quot;前日のイベントログをWMIオブジェクトで取得する - Gブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-22 03:09:06</published>
  <title>前日のイベントログをWMIオブジェクトで取得する</title>
  <type>rich</type>
  <url>https://bhunji2000.hatenadiary.org/entry/20091222/1261505346</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
