If you need to quickly switch to version 2 while you are in PowerShell 3 type the following.
PowerShell.exe -version 2
You will see the copyright info change to 2009 and if you type get-host it will display version 2.
To switch back to version 3 you can either close and re-open PowerShell or simply type in your current session
PowerShell.exe -version 3
No comments:
Post a Comment