<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b3g</author_name>
  <author_url>https://blog.hatena.ne.jp/b3g/</author_url>
  <blog_title>身の回り4畳半近辺の日記</blog_title>
  <blog_url>https://b3g.hatenablog.com/</blog_url>
  <categories>
    <anon>PC</anon>
  </categories>
  <description>以前、PowerShellのCompare-Objectで2つのオブジェクトを比較するときの注意点があったのですが、またまたCompare-Objectで困ったという話題です。 今度はハッシュテーブルの比較となります。例えば $a = @{x = 1; y = 2}$b = @{x = 3; y = 4} のとき、psobjectのときと同じように、 PS C:\&gt; Compare-Object -ReferenceObject $a -DifferenceObject $b -Property x, y としても結果はNullとなり比較できていません。ハッシュテーブルの比較はオブジェクトと同…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb3g.hatenablog.com%2Fentry%2F2023%2F11%2F04%2F234616&quot; title=&quot;ハッシュテーブルをCompare-Objectで比較する注意点 - 身の回り4畳半近辺の日記&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>2023-11-04 23:46:16</published>
  <title>ハッシュテーブルをCompare-Objectで比較する注意点</title>
  <type>rich</type>
  <url>https://b3g.hatenablog.com/entry/2023/11/04/234616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
