<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>小ネタです。 Windows PC でテキストファイルの中身を取得する方法について紹介します。 例えば、ssh 公開鍵をクリップボードに張り付ける作業をコマンドで書くとします。 mac や linux では次のようなコマンドを使います。 $ cat .ssh/id_rsa.pub | pbcopy windows （PowerShell）では、一部の linux コマンドしかサポートしていません。 （厳密には、Linux コマンドを PowerShell コマンドを関連関連付けをしているだけです。） そのため、次のコマンドを使って再現します。 Get-Content : 指定したパスのファイル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2022%2F05%2F31%2F214835&quot; title=&quot;【PowerShell】テキストの内容をクリップボードにコピーする - websandbag ブログ&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>2022-05-31 21:48:35</published>
  <title>【PowerShell】テキストの内容をクリップボードにコピーする</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2022/05/31/214835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
