<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>munibus</author_name>
  <author_url>https://blog.hatena.ne.jp/munibus/</author_url>
  <blog_title>Muni Bus</blog_title>
  <blog_url>https://munibus.hatenablog.com/</blog_url>
  <categories>
    <anon>PowerShell（演算子と制御構文）</anon>
  </categories>
  <description>-likeと-ilikeは大文字と小文字は区別しないで比較を行う。-clikeは大文字と小文字を区別して比較を行う。なお、逆にワイルドカードに一致しない要素を返す-notlike演算子もあり、-notlikeと-cnotlikeは大文字と小文字は区別しないが、-inotlikeは区別をして比較を行う。 PS &gt; $s = &quot;ABC&quot;, &quot;abc&quot;, &quot;xyz&quot;, &quot;XYZ&quot;PS &gt; $s -like &quot;A*&quot;ABCabcPS &gt; $s -ilike &quot;A*&quot;ABCabcPS &gt; $s -clike &quot;A*&quot;ABCPS &gt; $s -notlike &quot;A*&quot;xyzXYZPS &gt; $s -cnotl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmunibus.hatenablog.com%2Fentry%2F2025%2F12%2F11%2F223118&quot; title=&quot;【PowerShell】大文字小文字を区別した比較演算子によるワイルドカードの比較 - Muni Bus&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>2025-12-11 22:31:18</published>
  <title>【PowerShell】大文字小文字を区別した比較演算子によるワイルドカードの比較</title>
  <type>rich</type>
  <url>https://munibus.hatenablog.com/entry/2025/12/11/223118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
