<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.hgotoh.jp/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>努力したWiki - documents:proglang:powershell</title>
        <description>推敲の足りないメモ書き多数</description>
        <link>https://wiki.hgotoh.jp/</link>
        <lastBuildDate>Thu, 25 Jun 2026 05:20:19 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.hgotoh.jp/_media/wiki/logo.png</url>
            <title>努力したWiki</title>
            <link>https://wiki.hgotoh.jp/</link>
        </image>
        <item>
            <title>004.PowerShellテキスト分割ツール</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-001</link>
            <description>004.PowerShellテキスト分割ツール

2024-08-31.3
オプション -ReadLine を -SplitLine に変更した


2024-08-31.2
アドバイスをもらってGet-Contentに-ErrorAction Stopを追加


2024-08-31
ちょっと作り直した

これは何？</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 May 2026 07:20:08 +0000</pubDate>
        </item>
        <item>
            <title>001.ファイルの作成日・更新日の書換えのメモ</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-002</link>
            <description>001.ファイルの作成日・更新日の書換えのメモ

2024/05/13

自分用メモ

PowerShellでファイルの作成日・更新日を書き換えするコマンドライン。

ファイルパスにドライブレターを含めているとエラーが出るようなので注意。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 May 2026 07:18:47 +0000</pubDate>
        </item>
        <item>
            <title>003.Compress-ArchiveでZIPファイル作成のメモ</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-003</link>
            <description>003.Compress-ArchiveでZIPファイル作成のメモ

2025-03-31

自分用メモ

tarコマンドではZIPファイルを作れない

最近のWindowsには tar コマンドがあり、ZIPファイルを解凍できるんだけど、逆に通常のZIPファイルを作成できない。※正しくは生成結果が所謂 *.tar.zip になっちゃう。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 May 2026 07:19:41 +0000</pubDate>
        </item>
        <item>
            <title>100.ファイル調査1：Format-Hexの使い方メモ</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-004</link>
            <description>100.ファイル調査1：Format-Hexの使い方メモ

2025-09-10

自分用メモ

これは何？

PowerShellのFormat-Hexコマンドレットの使い方の簡単な例。なのでスクリプト組んでエラー処理、とかは考慮しない。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 31 May 2026 20:05:43 +0000</pubDate>
        </item>
        <item>
            <title>101.ファイル調査2：バイト配列から文字列に変換</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-005</link>
            <description>101.ファイル調査2：バイト配列から文字列に変換

2025-09-10

自分用メモ

これは何？

PowerShellでバイト列から文字列を表示させる簡単な例。 

100.ファイル調査1：Format-Hexの使い方メモの続きで、項目NAMEを文字列として表示したい場合に対応している。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 30 May 2026 18:20:57 +0000</pubDate>
        </item>
        <item>
            <title>102.ファイル調査3：データを作る</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-006</link>
            <description>102.ファイル調査3：データを作る

2025-09-12

自分用メモ

これは何？

PowerShellでバイト列をファイルに書き出す手順の簡単な例。 

101.ファイル調査2：バイト配列から文字列に変換の続きで、テスト用に1レコード分の新規データファイルを作ってみる。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 30 May 2026 18:20:57 +0000</pubDate>
        </item>
        <item>
            <title>103.ファイル調査4：バイナリパッチをあてる</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-007</link>
            <description>103.ファイル調査4：バイナリパッチをあてる

2025-10-05 Copilotが生成

これは何？

バイナリファイルの特定位置（オフセット）に対して、任意のバイト列を書き込む処理を PowerShell で試してみた記録。
テキストファイルの置換とは違い、バイナリを直接いじるので慎重さが必要。位置と内容が分かっていれば、スクリプトで一括処理も可能。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 May 2026 07:21:48 +0000</pubDate>
        </item>
        <item>
            <title>002.XML整形</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/powershell-008</link>
            <description>002.XML整形

2026-04-28 コピペ用

事前の知識

Chat-GPTさん情報で、PowerShell 5.1系はスクリプトを UTF-8 BOM付 で保存しておく。こうしておかないとスクリプトのパースに失敗する事があるそうだ。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 13 May 2026 07:19:06 +0000</pubDate>
        </item>
        <item>
            <title>006.PowerShell関連</title>
            <link>https://wiki.hgotoh.jp/documents/proglang/powershell/start</link>
            <description>006.PowerShell関連</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 30 May 2026 00:57:43 +0000</pubDate>
        </item>
    </channel>
</rss>
