PowerShell 7
- GitHub からダウンロードして直接インストールする。(または、任意のパッケージマネージャーでインストールする。)
- クロスプラットフォーム (Windows / Linux / macOS)
- 実行ファイルは
pwsh.exe(Windows)、または、pwsh(Linux / macOS)
こちらのページを参照
ドキュメント:
Windows PowerShell 5.1 から PowerShell 7 への移行 | Microsoft Learn [公式]
Windows PowerShell 5.1 と PowerShell 7.x の違い | Microsoft Learn [公式]
更新履歴:
PowerShell 7.0 の新機能 | Microsoft Learn [公式]
参考:
PowerShell 5.1 と 7.x って何が違うの? – Qiita
PowerShell 7.6 公開/.NET 10 ベースの長期サポート版 | 窓の杜
PowerShell Core 6.x
更新履歴:
PowerShell Core 6.0 の新機能 | Microsoft Learn [公式]
PowerShell 5.x
- Windows 10 / 11 にバンドルされ、標準でインストールされている。
- 更新は Windows Update により提供される。
- 実行ファイルは
powershell.exe
更新履歴:
Windows PowerShell 5.0 の新機能 | Microsoft Learn [公式]
Windows PowerShell 5.1 の新機能 | Microsoft Learn [公式]