<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guitarrapc_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/guitarrapc_tech/</author_url>
  <blog_title>tech.guitarrapc.cóm</blog_title>
  <blog_url>https://tech.guitarrapc.com/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>さて、前回の記事でIP Address (v4)から余計な頭の0などを正規表現で除外しました。 0+をa+とかにすれば、文字列でも使えるわけで、あれはあれで意味があります。 さて、.NET Frameworkには、[System.Net.IPAddress]があります。 これを使えば楽に変換もできますね。 キャストしてみる いつものMSDN先生で確認します。 MSDN - IPAddress クラス では、試してみましょう。 [System.Net.IPAddress]$ip = &quot;10.0.1.1&quot; 取得してみます。 PS&gt; $ip Address : 16842762 AddressFam…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.guitarrapc.com%2Fentry%2F2013%2F04%2F09%2F210410&quot; title=&quot;PowerShellでIPAdressをSystem.Net.IPAddressでキャストする - tech.guitarrapc.cóm&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>2013-04-09 21:04:10</published>
  <title>PowerShellでIPAdressをSystem.Net.IPAddressでキャストする</title>
  <type>rich</type>
  <url>https://tech.guitarrapc.com/entry/2013/04/09/210410</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
