Administrative install from the command line Method to install the other version to a different folder. If you need to run PowerShell 7.1 side-by-side with other versions, use the ZIP install The $env:ProgramFiles\PowerShell\6 folder is deleted.The $env:ProgramFiles\PowerShell\7 folder is added to $env:PATH.PowerShell 7.1 is installed to $env:ProgramFiles\PowerShell\7.PowerShell 7.1 is an in-place upgrade that replaces PowerShell 6.x. PowerShell 7.1 installs to a new directory and runs side-by-side with Windows PowerShell 5.1.