要在 PowerShell 中更新到最新版本的 PowerShell,可以执行以下步骤:
打开 PowerShell。
运行以下命令,检查当前安装的 PowerShell 版本:
$PSVersionTable.PSVersion