<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ebi216</author_name>
  <author_url>https://blog.hatena.ne.jp/ebi216/</author_url>
  <blog_title>車輪の再発明</blog_title>
  <blog_url>https://ebi216.hateblo.jp/</blog_url>
  <categories>
    <anon>Powershell</anon>
  </categories>
  <description>アプライアンス製品の検証してるときにちょっとSyslogサーバが欲しくなったので、どこにでもあるPowershellで書きました。 わざわざサーバ立てるほどでもない場合に割と役立ちます。 前提 今どきのwindowsならほぼほぼ実行できるPowershell V2で実装。 TCPは対応してません。 コード param([int]$port=514,[string]$file) $ErrorActionPreference=&quot;stop&quot; $enc=New-Object System.Text.ASCIIEncoding $facility=@(&quot;kernel&quot;, &quot;user&quot;, &quot;mail&quot;, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Febi216.hateblo.jp%2Fentry%2F2018%2F03%2F18%2F012438&quot; title=&quot;PowershellでSyslogサーバを書く - 車輪の再発明&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>2018-03-18 01:24:38</published>
  <title>PowershellでSyslogサーバを書く</title>
  <type>rich</type>
  <url>https://ebi216.hateblo.jp/entry/2018/03/18/012438</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
