[Windows] PowerShell 7.0.2 を導入してみた。
普段 PowerShell を使う機会が少ないのですが、使ってみたい新しい機能がありました。
公式ドキュメントはこちら → https://docs.microsoft.com/ja-jp/powershell/scripting/install/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7
その前に現行環境の確認を。
> $PSVersionTable を実行すると、5.1.18362.752 と判明。

PowerShell 7.0.2 MSI パッケージを入手。
Github にて→ https://github.com/PowerShell/PowerShell/releases
ここでは、https://github.com/PowerShell/PowerShell/releases/download/v7.0.2/PowerShell-7.0.2-win-x64.msi を入手しました。
インストールします。





早速、動作確認しましょう。
> $PSVersionTable を実行すると、7.0.2 と判明。
下のスクリーンショットは一般権限で動作させています。

PowerShell 7.0 の新機能
こちらをご覧ください。 → https://docs.microsoft.com/ja-jp/powershell/scripting/whats-new/what-s-new-in-powershell-70?view=powershell-7
以上、ご覧いただき有難うございました。