PowerShell V3 FAQ

PowerShell V3 FAQ


Q: Where can I get PowerShell V3?

A: you can get it here but please read the instructions!

Q: Where is a good place to get started with V3?

A: Right here:


Q: Where do I submit bugs or feedback?

A: Please submit bugs/feedback to the PowerShell Connect Site including prefix bug submission titles with V3.

Q: Will installing V3 remove my current version?

A: YES. Installing V3 will update V2 to V3. The download is an update to the current version. Note that when V3 is loaded, you can still run V2 by specifying the '-Version 2' parameter when starting PowerShell - thus you can run V2 and V3 'side by side'.

Q: How do I run in compatibility mode and get Version 2?


A: You can start PowerShell with the -version 2 argument. If you are running the V3 ISE, you can use this script to run the script being currently edited in V2.
 

Other Languages

This article is also available in the following languages:

 

Sort by: Published Date | Most Recent | Most Useful
Comments
  • Technically it does not remove v2.  It updates it, but you can always force Powershell to run scripts in compatibility mode for v2.

  • Here is a link to an example of how to run v2 scripts in Powershell 3 CTP1.

    gallery.technet.microsoft.com/.../Invoke-V2Script-49014f87

  • Would be useful to explain the status of the Help files delivered with the CTP1 (not really about V3 ?) and what to do or not to do with them (as the Update-Help cmdlet does not seem to accept them)

  • The Release Notes doc is misleading when it says that "The WMF 3.0 CTP1 version of Windows PowerShell 3.0 can be installed side-by-side with Windows PowerShell 2.0. ".  Side-by-side does not mean "install to the same directory using the same executable names.  The -version 2 argument is a nice feature, but it's not quite side-by-side.

  • @jjwillemen What do you mean by "the Update-Help cmdlet does not seem to accept them"? What error do you get when you run Update-Help?

  • I've updated the faq to accomodate Rich's question and to explain better the script link.

  • I notice that ISE doesn't have a -version argument.  Is there a way to run ISE with version 2 compatibility?

  • @Mike Shepard - The 3rd question answers that. You cant natively do it but a script has been created that allows you to test code in V2.

Page 1 of 1 (8 items)