<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stknohg</author_name>
  <author_url>https://blog.hatena.ne.jp/stknohg/</author_url>
  <blog_title>しばたテックブログ</blog_title>
  <blog_url>https://blog.shibata.tech/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>クラスメソッドさんの dev.classmethod.jp が人気なので便乗してPowerShellだとどうすれば良いか軽く書いておきます。 本エントリの内容はWindows 10、PowerShell 5.1、PSReadline 1.2な環境で動作確認しています。 1. $$自動変数を使う Bashでは$_が「ひとつ前に実行したコマンドラインの最後の引数」となっていますが、PowerShellで$_は「パイプラインで現在処理されているオブジェクト」を表す自動変数なので使えません。 PowerShellでは代わりに$$を使います。 $$は正確には「セッションが受け取った最後の行にある最後のト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibata.tech%2Fentry%2F2017%2F09%2F27%2F215312&quot; title=&quot;PowerShellでmkdirしたディレクトリにcdする方法 - しばたテックブログ&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>2017-09-27 21:53:12</published>
  <title>PowerShellでmkdirしたディレクトリにcdする方法</title>
  <type>rich</type>
  <url>https://blog.shibata.tech/entry/2017/09/27/215312</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
