<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>Windows</anon>
    <anon>Windows-Powershell</anon>
  </categories>
  <description>やりたいこと 例えばUNIX環境では以下のようにheadコマンドで先頭行のみを抜き出せますが $ docker ps -q 4aee89111efc 6f222648dbfa 5f0b36608a8e $ docker ps -q | head -n 1 4aee89111efcWindows（Powershell）では利用できません。 head head : 用語 'head' は、コマンドレット、関数、スクリプト ファイル、または操作可能なプログラムの名前として認識されません 。名前が正しく記述されていることを確認し、パスが含まれている場合はそのパスが正しいことを確認してから、再試行してく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fpowershell-head-tail&quot; title=&quot;【Windows】Powershellでheadコマンド相当の処理を行う - (O+P)ut&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/m/mtiit/20190621/20190621170628.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-10 00:00:00</published>
  <title>【Windows】Powershellでheadコマンド相当の処理を行う</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/powershell-head-tail</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
