@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ks: <https://comcomponent.com/vocab/> .

<https://comcomponent.com/blog/windows-powershell-5-vs-powershell-7-migration/#article>
    schema:about <https://comcomponent.com/knowledge/windows-powershell-5-1/>, <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:mentions <https://comcomponent.com/knowledge/dotnet/>, <https://comcomponent.com/knowledge/dotnet-framework/>, <https://comcomponent.com/knowledge/powershell-exe/>, <https://comcomponent.com/knowledge/pwsh-exe/>, <https://comcomponent.com/knowledge/task-scheduler/>, <https://comcomponent.com/knowledge/powershell-encoding-difference/>, <https://comcomponent.com/knowledge/powershell-migration-mojibake/>, <https://comcomponent.com/knowledge/explicit-encoding-specification/>, <https://comcomponent.com/knowledge/bom-utf8-script-saving/>, <https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/>, <https://comcomponent.com/knowledge/winpscompatsession/>, <https://comcomponent.com/knowledge/object-method-invocation-need/>, <https://comcomponent.com/knowledge/requires-statement/>, <https://comcomponent.com/knowledge/unexpected-version-execution/>, <https://comcomponent.com/knowledge/psversiontable/>, <https://comcomponent.com/knowledge/powershell-ise/>, <https://comcomponent.com/knowledge/vscode-powershell-extension/>, <https://comcomponent.com/knowledge/windows-server/>, <https://comcomponent.com/knowledge/powershell-lts-release/>, <https://comcomponent.com/knowledge/powershell-msi-installer/>, <https://comcomponent.com/knowledge/winget/> .

<https://comcomponent.com/knowledge/windows-powershell-5-1/> a skos:Concept ;
    skos:prefLabel "Windows PowerShell 5.1"@ja ;
    skos:definition "Windowsに標準で同梱されている、.NET Framework上に構築されたレガシー世代のPowerShell(5.1系)のランタイム。実行ファイルはpowershell.exeで、.NETアプリからはMicrosoft.PowerShell.5.1.ReferenceAssembliesを介して呼び出せる。"@ja ;
    skos:altLabel "Microsoft.PowerShell.5.1.ReferenceAssemblies" ;
    ks:uses <https://comcomponent.com/knowledge/dotnet-framework/> ;
    ks:uses <https://comcomponent.com/knowledge/powershell-exe/> ;
    ks:verifiedBy <https://comcomponent.com/knowledge/psversiontable/> .

<https://comcomponent.com/knowledge/powershell-7/> a skos:Concept ;
    skos:prefLabel "PowerShell 7"@ja ;
    skos:definition "PowerShell Core系譜の最新世代で、.NET(Core以降)上に構築されたPowerShellのエディション。実行ファイルはpwsh.exeで5.1のpowershell.exeとサイドバイサイドに共存し、Out-File・Set-Content・Export-Csvなどの既定書き込みencodingはBOMなしUTF-8である。"@ja ;
    ks:uses <https://comcomponent.com/knowledge/dotnet/> ;
    ks:uses <https://comcomponent.com/knowledge/pwsh-exe/> ;
    ks:verifiedBy <https://comcomponent.com/knowledge/psversiontable/> .

<https://comcomponent.com/knowledge/dotnet-framework/> a skos:Concept ;
    skos:prefLabel ".NET Framework"@ja ;
    skos:definition "Windowsのコンポーネントとして扱われ、インストールされているOSのライフサイクルに沿ってサポートされるランタイム。System.Messagingの対象範囲。"@ja .

<https://comcomponent.com/knowledge/dotnet/> a skos:Concept ;
    skos:prefLabel ".NET(Core以降)"@ja ;
    skos:definition ".NET Frameworkの後継となる、クロスプラットフォーム対応の.NETランタイム(.NET 5以降)。"@ja ;
    skos:altLabel ".NET Core" ;
    skos:altLabel "モダンな.NET"@ja .

<https://comcomponent.com/knowledge/powershell-exe/> a skos:Concept ;
    skos:prefLabel "powershell.exe"@ja ;
    skos:definition "Windows PowerShell 5.1の実行ファイル。"@ja .

<https://comcomponent.com/knowledge/pwsh-exe/> a skos:Concept ;
    skos:prefLabel "pwsh.exe"@ja ;
    skos:definition "PowerShell 7の実行ファイル。最初の位置指定パラメーターがpowershell.exeの-Commandではなく-Fileになっている。"@ja .

<https://comcomponent.com/knowledge/task-scheduler/> a skos:Concept ;
    skos:prefLabel "タスクスケジューラの無人実行"@ja ;
    skos:definition "指定したアカウントで、スケジュールやログオンなどのトリガーに従いプログラムを実行するWindowsの仕組み。ログオン種別(対話トークン・パスワード保存・S4Uなど)の設定によっては、ユーザーがログオンしていなくても実行できる。"@ja .

<https://comcomponent.com/knowledge/powershell-encoding-difference/> a skos:Concept ;
    skos:prefLabel "既定の文字エンコーディングの違い(5.1/7)"@ja ;
    skos:definition "コマンドレットごとに既定が異なるWindows PowerShell 5.1と、一律BOMなしUTF-8を既定とするPowerShell 7との、テキスト入出力における既定エンコーディングの違い。"@ja .

<https://comcomponent.com/knowledge/powershell-migration-mojibake/> a skos:Concept ;
    skos:prefLabel "移行時の文字化け"@ja ;
    skos:definition "Shift_JIS前提のファイル連携が、PowerShell 7への移行後に読み書きの両方で文字化けする現象。"@ja .

<https://comcomponent.com/knowledge/explicit-encoding-specification/> a skos:Concept ;
    skos:prefLabel "-Encodingの明示"@ja ;
    skos:definition "ファイル入出力コマンドレットで-Encodingパラメーターを明示的に指定し、実行環境の既定エンコーディングに依存しないようにする対策。"@ja ;
    ks:mitigates <https://comcomponent.com/knowledge/powershell-migration-mojibake/> .

<https://comcomponent.com/knowledge/bom-utf8-script-saving/> a skos:Concept ;
    skos:prefLabel "スクリプトのBOM付きUTF-8保存"@ja ;
    skos:definition "非ASCII文字を含むPowerShellスクリプトファイルを、Windows PowerShell 5.1とPowerShell 7の双方が正しく解釈できるBOM付きUTF-8で保存する対策。"@ja ;
    ks:prevents <https://comcomponent.com/knowledge/powershell-migration-mojibake/> .

<https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/> a skos:Concept ;
    skos:prefLabel "Windows互換機能(-UseWindowsPowerShell)"@ja ;
    skos:definition "PowerShell 7で読み込めないモジュールを、バックグラウンドで起動したWindows PowerShell 5.1プロセスを通じて暗黙のリモーティング経由で使えるようにする機能。"@ja ;
    skos:altLabel "WindowsPSCompatibility" ;
    ks:uses <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    ks:uses <https://comcomponent.com/knowledge/winpscompatsession/> ;
    ks:notRecommendedFor <https://comcomponent.com/knowledge/object-method-invocation-need/> .

<https://comcomponent.com/knowledge/winpscompatsession/> a skos:Concept ;
    skos:prefLabel "WinPSCompatSession"@ja ;
    skos:definition "Windows互換機能で読み込んだ全モジュールが1つのランスペースを共有する、背後の5.1プロセス側のセッション名。"@ja .

<https://comcomponent.com/knowledge/object-method-invocation-need/> a skos:Concept ;
    skos:prefLabel "オブジェクトのメソッド呼び出しを要する処理"@ja ;
    skos:definition "取得したオブジェクトに対してメソッド呼び出しが必要な処理。"@ja .

<https://comcomponent.com/knowledge/requires-statement/> a skos:Concept ;
    skos:prefLabel "#Requires文"@ja ;
    skos:definition "指定したPowerShellのバージョン(-Version)やエディション(-PSEdition)などの前提条件を満たさない場合、スクリプトの実行そのものを拒否するステートメント。"@ja ;
    ks:prevents <https://comcomponent.com/knowledge/unexpected-version-execution/> .

<https://comcomponent.com/knowledge/unexpected-version-execution/> a skos:Concept ;
    skos:prefLabel "想定外バージョンでの実行"@ja ;
    skos:definition "スクリプトが想定していないPowerShellのバージョンやエディションで実行されてしまうこと。"@ja .

<https://comcomponent.com/knowledge/psversiontable/> a skos:Concept ;
    skos:prefLabel "$PSVersionTable"@ja ;
    skos:definition "現在のセッションのPowerShellバージョンやエディション(Desktop/Core)を保持する読み取り専用の自動変数。"@ja .

<https://comcomponent.com/knowledge/powershell-ise/> a skos:Concept ;
    skos:prefLabel "Windows PowerShell ISE"@ja ;
    skos:definition "Windows PowerShell 5.1以前のスクリプトにのみ対応する統合スクリプト編集環境。新機能の開発は終了しているが、Windowsからの削除予定はない。"@ja ;
    skos:altLabel "ISE" ;
    ks:notRecommendedFor <https://comcomponent.com/knowledge/powershell-7/> ;
    ks:uses <https://comcomponent.com/knowledge/windows-powershell-5-1/> .

<https://comcomponent.com/knowledge/vscode-powershell-extension/> a skos:Concept ;
    skos:prefLabel "VS CodeのPowerShell拡張機能"@ja ;
    skos:definition "Visual Studio Code上でPowerShellの編集・デバッグを支援する拡張機能。PSScriptAnalyzerを内蔵し、編集中にその場で警告を表示する。"@ja ;
    skos:altLabel "PowerShell extension for VS Code" ;
    ks:recommendedFor <https://comcomponent.com/knowledge/powershell-7/> ;
    ks:succeeds <https://comcomponent.com/knowledge/powershell-ise/> .

<https://comcomponent.com/knowledge/powershell-lts-release/> a skos:Concept ;
    skos:prefLabel "PowerShell 7のLTSリリース"@ja ;
    skos:definition "更新を重大なセキュリティ修正と保守に絞り、既存ワークロードへの影響を最小限にするよう設計された、業務サーバー向けに推奨されるPowerShell 7のリリース区分。"@ja ;
    skos:altLabel "LTS" ;
    ks:recommendedFor <https://comcomponent.com/knowledge/windows-server/> .

<https://comcomponent.com/knowledge/windows-server/> a skos:Concept ;
    skos:prefLabel "Windows Server"@ja ;
    skos:definition "サーバー向けのWindows。Windows Updateから機能更新を受け取らない。"@ja .

<https://comcomponent.com/knowledge/powershell-msi-installer/> a skos:Concept ;
    skos:prefLabel "PowerShell 7のMSIパッケージ"@ja ;
    skos:definition "Windows Serverや企業展開向けに案内される、PowerShell 7の配布形式。Microsoft Update経由の更新オプションを持つ。"@ja ;
    skos:altLabel "MSI" ;
    ks:recommendedFor <https://comcomponent.com/knowledge/windows-server/> ;
    ks:recommendedFor <https://comcomponent.com/knowledge/powershell-7/> .

<https://comcomponent.com/knowledge/winget/> a skos:Concept ;
    skos:prefLabel "winget"@ja ;
    skos:definition "Windowsクライアントでの推奨インストール方法として案内される、Microsoft製のパッケージマネージャー。"@ja ;
    ks:recommendedFor <https://comcomponent.com/knowledge/powershell-7/> .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/dotnet-framework/> ;
    schema:description "Windows PowerShell 5.1は.NET Framework 4.x上に構築されている"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/what-is-windows-powershell> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-7/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/dotnet/> ;
    schema:description "PowerShell 7は新しい.NET(7.4系なら.NET 8.0など)の上に構築されている"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/powershell-exe/> ;
    schema:description "Windows PowerShell 5.1の実行ファイルはpowershell.exeである"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-7/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/pwsh-exe/> ;
    schema:description "PowerShell 7の実行ファイルはpwsh.exeであり、5.1のpowershell.exeとサイドバイサイドで共存する"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/task-scheduler/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/powershell-exe/> ;
    schema:description "PowerShellを呼び出すよう構成された既存のタスクは、起動コマンドを書き換えない限りこれまでどおりpowershell.exe(5.1)を呼び出し続ける"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/task-scheduler/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/pwsh-exe/> ;
    schema:description "起動コマンドをpowershell.exeからpwsh.exeへ書き換えて初めて、そのタスクは7で実行されるようになる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-encoding-difference/> ;
    rdf:predicate ks:mayCause ;
    rdf:object <https://comcomponent.com/knowledge/powershell-migration-mojibake/> ;
    schema:description "Shift_JIS前提のファイル連携で、5.1と7の既定エンコーディング差により読み書きが文字化けし得る"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_character_encoding> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/explicit-encoding-specification/> ;
    rdf:predicate ks:mitigates ;
    rdf:object <https://comcomponent.com/knowledge/powershell-migration-mojibake/> ;
    schema:description "ファイル入出力ですべて-Encodingを明示すれば、既定エンコーディング差による文字化けを構造的に防げる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_character_encoding> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/bom-utf8-script-saving/> ;
    rdf:predicate ks:prevents ;
    rdf:object <https://comcomponent.com/knowledge/powershell-migration-mojibake/> ;
    schema:description "非ASCII文字を含むスクリプトをBOM付きUTF-8で保存すると、5.1がANSIと誤解釈することによる文字化けや構文エラーを防げる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_character_encoding> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-7/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/> ;
    schema:description "7に対応していないモジュールがある場合、Windows互換機能(-UseWindowsPowerShell)を使って読み込める"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_windows_powershell_compatibility> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    schema:description "Windows互換機能はバックグラウンドでWindows PowerShell 5.1のプロセスを起動する"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_windows_powershell_compatibility> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/winpscompatsession/> ;
    schema:description "互換機能は背後の5.1プロセス内にWinPSCompatSessionというセッションを作り、対象モジュールをそこへ読み込む"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_windows_powershell_compatibility> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-compatibility-feature/> ;
    rdf:predicate ks:notRecommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/object-method-invocation-need/> ;
    schema:description "互換機能が返すのはシリアライズされた値のスナップショットで生のオブジェクトではないため、メソッド呼び出しが必要な処理には向かない"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_windows_powershell_compatibility> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/requires-statement/> ;
    rdf:predicate ks:prevents ;
    rdf:object <https://comcomponent.com/knowledge/unexpected-version-execution/> ;
    schema:description "#Requires文は条件を満たさないPowerShellでの実行そのものを拒否するため、想定外バージョンでの実行を未然に止める"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_requires> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-7/> ;
    rdf:predicate ks:verifiedBy ;
    rdf:object <https://comcomponent.com/knowledge/psversiontable/> ;
    schema:description "実行中がPowerShell 7かどうかは$PSVersionTable.PSEditionがCoreであることで確認できる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_automatic_variables> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    rdf:predicate ks:verifiedBy ;
    rdf:object <https://comcomponent.com/knowledge/psversiontable/> ;
    schema:description "実行中がWindows PowerShell 5.1かどうかは$PSVersionTable.PSEditionがDesktopであることで確認できる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_automatic_variables> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-ise/> ;
    rdf:predicate ks:notRecommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:description "ISEはPowerShell 5.1以前でのみ動作するため、7で動かすスクリプトの編集・実行環境として使うことはできない"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/dev-cross-plat/vscode/using-vscode> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-ise/> ;
    rdf:predicate ks:uses ;
    rdf:object <https://comcomponent.com/knowledge/windows-powershell-5-1/> ;
    schema:description "ISEが対応するのはWindows PowerShell 5.1以前のエンジンだけである"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/dev-cross-plat/vscode/using-vscode> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/vscode-powershell-extension/> ;
    rdf:predicate ks:recommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:description "Microsoftは編集環境としてVisual Studio CodeとPowerShell拡張機能を案内しており、拡張機能上でPowerShell 7に切り替えて使える"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/dev-cross-plat/vscode/using-vscode> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/vscode-powershell-extension/> ;
    rdf:predicate ks:succeeds ;
    rdf:object <https://comcomponent.com/knowledge/powershell-ise/> ;
    schema:description "公式ドキュメントはISEからの移行先としてVisual Studio Code + PowerShell拡張機能を案内している"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/dev-cross-plat/vscode/using-vscode> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-lts-release/> ;
    rdf:predicate ks:recommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/windows-server/> ;
    schema:description "業務サーバーにはLTSリリースが推奨され、更新は重大なセキュリティ修正と保守に絞られる"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/install/powershell-support-lifecycle> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-msi-installer/> ;
    rdf:predicate ks:recommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/windows-server/> ;
    schema:description "Windows Serverや企業展開へのPowerShell 7導入にはMSIパッケージが最適と案内されている"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/install/install-powershell-on-windows> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/winget/> ;
    rdf:predicate ks:recommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:description "Windowsクライアントへの推奨インストール方法としてwingetが案内されている"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/install/install-powershell-on-windows> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-msi-installer/> ;
    rdf:predicate ks:recommendedFor ;
    rdf:object <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:description "7の導入はMSIパッケージまたはwingetで行うと案内されており、MSIパッケージはPowerShell 7そのものの配布形式である"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/scripting/install/install-powershell-on-windows> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "established" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/requires-statement/> ;
    rdf:predicate ks:requires ;
    rdf:object <https://comcomponent.com/knowledge/powershell-7/> ;
    schema:description "「#Requires -Version 7.0」と書いた場合に限り、そのスクリプトがPowerShell 7専用であることを宣言し7未満での実行を拒否する(#Requires文自体は-PSEdition Desktopなど5.1専用の宣言にも使えるため、常にPowerShell 7を要求するわけではない)"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_requires> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .

[] a rdf:Statement ;
    rdf:subject <https://comcomponent.com/knowledge/powershell-7/> ;
    rdf:predicate ks:mayCause ;
    rdf:object <https://comcomponent.com/knowledge/powershell-migration-mojibake/> ;
    schema:description "Shift_JIS前提のファイル連携は、5.1からPowerShell 7に載せ替えた瞬間に読みも書きも文字化けし得る"@ja ;
    ks:evidence <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_character_encoding> ;
    ks:verifiedAt "2026-08-01" ;
    ks:certainty "context-dependent" .
