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

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."

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.