pwershell 7 upgrade or Install code example Example: pwershell 7 upgrade or Install iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"