用pwsh取代默认powershell,升级PowerShell为PowerShell7.6.3等高版本

迅恒数据中心
下载PowerShell-7.6.3-win-x64.zip
https://github.com/PowerShell/PowerShell/releases/download/v7.6.3/PowerShell-7.6.3-win-x64.zip
解压文件夹改名1.0
复制pwsh.exe为powershell.exe
离线覆盖到文件夹X:\Windows\System32\WindowsPowerShell\v1.0
wimlib直接打进wim也行

分类:教程帮助 百度收录 必应收录