0
(0)

普段 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

以上、ご覧いただき有難うございました。

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

投稿者 斉藤之雄 (Yukio Saito)

Global Information and Communication Technology OTAKU / Sports volunteer / Social Services / Master of Technology in Innovation for Design and Engineering, AIIT / BA, Social Welfare, NFU / twitter@yukio_saitoh