xxxxxxxxxx
winget install --id Microsoft.Powershell --source winget
xxxxxxxxxx
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
xxxxxxxxxx
msiexec.exe /package "c:\Temp\PowerShell-7.1.0-win-x64.msi" /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1