查看版本:
$PSVersionTable.PSVersion
查找PowerShell
winget search Microsoft.PowerShell
安装PowerShell
winget install --id Microsoft.Powershell --source winget查看版本:
$PSVersionTable.PSVersion
查找PowerShell
winget search Microsoft.PowerShell
安装PowerShell
winget install --id Microsoft.Powershell --source winget