<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>newpops</author_name>
  <author_url>https://blog.hatena.ne.jp/newpops/</author_url>
  <blog_title>PowerShell Memo</blog_title>
  <blog_url>https://newpops.hatenadiary.org/</blog_url>
  <categories>
    <anon>MSH</anon>
  </categories>
  <description>キーを作成する キーを作成する前にキーが存在するかチェック。 以下のfunctionで可能です。 キーの存在チェック function existKey() { PARAM ([String]$key) $item = ls $key -ea silentlycontinue if ($item) { $result = $True } else { $result = $False } return $result } 上記functionを利用したサンプル MSH C:\&gt; existKey &quot;HKLM:\SOFTWARE\Microsoft&quot; True MSH C:\&gt; existKey…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnewpops.hatenadiary.org%2Fentry%2F20051015%2Fp1&quot; title=&quot;レジストリアクセス(２) - PowerShell Memo&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>2005-10-15 00:00:00</published>
  <title>レジストリアクセス(２)</title>
  <type>rich</type>
  <url>https://newpops.hatenadiary.org/entry/20051015/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
