Q: Can I have PowerShell 2.0 and 3.0 on the same machine?

PowerShell 3.0 can be on the same machine as PowerShell 2.0, but if you want 2.0 to run, there's a command you can use.

John Savill

January 4, 2013

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A: Yes. Installing Windows PowerShell 3.0 doesn't remove 2.0 if it was already installed. However, if PowerShell 1.0 was installed, then the installation of PowerShell 2.0 or 3.0 will remove the 1.0 installation.

If 2.0 and 3.0 are installed on the same box, then launching Powershell.exe will start 3.0. To start 2.0, run

powershell -version 2 

To quick show if you are runing 2.0 or 3.0, use

 Get-Host 

To learn more about PowerShell, see our PowerShell 101 Series, or see "Top 10 Active Directory Tasks Solved with PowerShell."

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like