<?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>名前がdisplaynameのレジストリデータは以下のように取得できます。 get-ItemProperty -path registry::&quot;&lt;レジストリのディレクトリ&gt;&quot; | select-Object -property displaynameしかし、これはPSCustomObject型でかえされます。また、これを無理やりString型キャストすると以下のようになってしまいます。 (Bonjourだけほしいのに他のものも付いてきます) そこで、取得したPSCustomObjectのプロパティを詳しく見てみます。レジストリのディレクトリを変数aに代入し、変数aのプロパティを変数bに代入しま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbhunji2000.hatenadiary.org%2Fentry%2F20091207%2F1260194913&quot; title=&quot;レジストリのデータをString型で取得 - 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/20091207/20091207225638.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-07 23:08:33</published>
  <title>レジストリのデータをString型で取得</title>
  <type>rich</type>
  <url>https://bhunji2000.hatenadiary.org/entry/20091207/1260194913</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
