<?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>前日のイベントログをテキストファイルで取得するプログラムを作成しました。今回はPowerShellでの作成にチャレンジしました。1行目から説明していきたいと思います。まず、以下は、VBAでいうところのOption Explicitです。変数を定義せず使うとエラーになるようにしています。(これは、特別必要なものでもないと思います。しかし、ちゃんと設定しておくとバグの発生を軽減できます。たとえば、コーディング中に変数名をいろいろ変更してしまうことがあると思います。その際に、変更し忘れの変数にエラーを返してくれます。) set-PSDebug -strict次は、イベントログの取得開始・終了時刻の設…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbhunji2000.hatenadiary.org%2Fentry%2F20091129%2F1259485006&quot; title=&quot;前日のイベントログをテキストファイルで取得する - 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>https://cdn-ak.f.st-hatena.com/images/fotolife/b/bhunji2000/20091129/20091129174735.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-11-29 17:56:46</published>
  <title>前日のイベントログをテキストファイルで取得する</title>
  <type>rich</type>
  <url>https://bhunji2000.hatenadiary.org/entry/20091129/1259485006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
