Windows PowerShell 5.1
Windowsに標準で同梱されている、.NET Framework上に構築されたレガシー世代のPowerShell(5.1系)のランタイム。実行ファイルはpowershell.exeで、.NETアプリからはMicrosoft.PowerShell.5.1.ReferenceAssembliesを介して呼び出せる。
この概念が関わる関係
- Windows PowerShell 5.1はANSIコードページを利用します。
- Windows PowerShell 5.1はUTF-16を利用します。
- 曖昧な書き込み経路はWindows PowerShell 5.1を利用します。
- Windows PowerShell 5.1はPowerShell.InvokeAsyncと両立しません。
- Windows PowerShell 5.1はBeginInvoke/EndInvokeを利用します。
- .NET FrameworkはWindows PowerShell 5.1を利用します。
- Windows PowerShell 5.1は.NET Frameworkを利用します。
- ProcessStartInfo.ArgumentListはWindows PowerShell 5.1と両立しません。
- Windows PowerShell 5.1はTLS 1.2の明示的な有効化を前提とします。
- Windows PowerShell 5.1は-SkipHttpErrorCheckパラメーターと両立しません。
- Windows PowerShell 5.1は-Authenticationパラメーターと両立しません。
- Windows PowerShell 5.1は.NET Frameworkを利用します。
- Windows PowerShell 5.1はpowershell.exeを利用します。
- Windows互換機能(-UseWindowsPowerShell)はWindows PowerShell 5.1を利用します。
- Windows PowerShell 5.1は$PSVersionTableで確認できます。
- Windows PowerShell ISEはWindows PowerShell 5.1を利用します。
- Windows PowerShell 5.1はUTF-16LEを利用します。
- Windows PowerShell 5.1はCP932を利用します。
この概念を扱う記事
- WindowsでCodexの文字化け事故を減らす指示ルール(言及)
- C#(CSharp)でPowerShellを実行して、オブジェクトとして受け取る方法(言及)
- PowerShellからCOMと.NETを呼ぶ実践 ── スクリプトの届く範囲を一気に広げる(言及)
- PowerShellから外部exeを正しく呼ぶ ── 引数のクォート・終了コード・文字化けの落とし穴(言及)
- PowerShellでREST APIと連携する ── Invoke-RestMethodの実務(言及)
- Windows PowerShell 5.1とPowerShell 7の違い ── 社内スクリプト移行の実務ガイド(主要トピック)
- Windows文字コード入門 - Linux連携で起きる文字化け(言及)
一次資料
- https://www.nuget.org/packages/Microsoft.PowerShell.5.1.ReferenceAssemblies/
- https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_character_encoding
このページはサイトの知識グラフ(_data/knowledge/)から自動生成されています。誤りの指摘はお問い合わせからお願いします。