In order to run a previous version of PowerShell, you don’t need to install the versions that you can get your hands on. All you need to do is to use the –Version switch.
For example, if you’ve got PowerShell version 3 installed and you want to run PowerShell version 2, execute the following:
powershell.exe –Version 2