PowerShell升级
1.查看版本
$PSVersionTable
2.搜索软件包
winget search Microsoft.PowerShell
3.使用 id 参数安装 PowerShell 或 PowerShell 预览版
winget install --id Microsoft.Powershell --source winget
winget install --id Microsoft.Powershell.Preview --source winget