PowerShell 5 をPowerShell 7に切り替える

先日の記事で「PowerShell をPowerShell 7にバージョンアップする」でPowerShell 7系にバージョンアップしたのですが、PowerShell を起動するとPowerShell 5に切り替わっています。 ...
PowerShell でバージョンを確認する方法

Windows11 でPowerShell のバージョンを確認する方法ですが、何個かの方法がありますが、今回は以下の方法で紹介します
$PSVersionTableを利用する「$PSVersionTable」は、Power ...
Windows11 ターミナルのフォント・フォントサイズの変更する方法

Windows11で、コマンドベースで作業する時に利用するターミナルソフトですが、このフォントが大きかったので小さくするように変更しました。その時の手順です
1.「スタート」メニューから「ターミナル」を起動します
PowerShellのバージョンを確認する「PSversionTable」でエラー

PowerShellのバージョンを確認するには、PowerShellを起動して「$PSversionTable」と入力すれば確認できますが、下記のようにエラーになり、バージョンが確認できませんでした。
PS C:> PSv ...