<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>merrywhite</author_name>
  <author_url>https://blog.hatena.ne.jp/merrywhite/</author_url>
  <blog_title>CAFE BREAK</blog_title>
  <blog_url>https://cafebreak.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows</anon>
  </categories>
  <description>PowerShell 5 で変数の上限、最大数が 4096 になる理由について書かれた情報がありました。 変数に多くの値を格納する必要がある場合に、上限が気になりました。 以下は質問の抜粋です。 楽しみのために、そのコードを実行しました： for ($i = 0; $i -le 9999; ++$i) { New-Variable $i $i -ErrorAction Stop }PowerShell 5.1 は以下を返しました。 New-Variable : Cannot create variable 4073 because variable capacity 4096 is excee…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebreak.hatenablog.com%2Fentry%2F2024%2F02%2F24%2F053639&quot; title=&quot;PowerShell 5 で変数の上限、最大数が 4096 になる理由 - CAFE BREAK&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://www15.a8.net/0.gif?a8mat=1NWF4B+CR1C1M+249K+BWGDT</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-02-24 05:36:39</published>
  <title>PowerShell 5 で変数の上限、最大数が 4096 になる理由</title>
  <type>rich</type>
  <url>https://cafebreak.hatenablog.com/entry/2024/02/24/053639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
