How to start PowerShell v3 console in v2 mode

In the latest updates to Windows Server 2008 R2, they also push Windows PowerShell V3.0. But our scripts are built and tested in V2 so far. How to start PowerShell V3 console in V2 mode.

Note. I tried "-Version 2" when running PowerShell.exe. But it does not work.

+3
source share
1 answer

How does powershell.exe -version 2 not work? This is how you start v2 when installing v3.

BTW, make sure PowerShell 2.0 is installed. Check Windows features:

Windows Features - PowerShell 2.0

+8
source

All Articles