How to Run PowerShell v3 console in v2 mode
12,508
In what way is powershell.exe -version 2
not working? This is how you run v2 when v3 is installed.
BTW, make sure that the PowerShell 2.0 engine is installed. Check Windows Features:
Author by
RinoTom
Rino Tom Thomas is a software professional skilled in .NET / JavaScript - Web & Mobile technologies and currently located in Bangalore, India. He is holding a B.Tech in Computer Science from MA College of Engineering, Kerala. Twitter: @rinotom
Updated on June 07, 2022Comments
-
RinoTom almost 2 years
In recent updates of Windows Server 2008 R2, they are pushing Windows PowerShell V3.0 also along with that. But, our scripts are built and tested in V2 till now. How can I run PowerShell V3 Console in V2 mode.?
Note: I tried "-Version 2" while starting the PowerShell.exe. But it is not working.