Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the v2.0 and v3.0 folder for PowerShell?

On my box, I installed PowerShell 2.0, but the $PSHome varialbe always return the path below:

C:\Windows\System32\WindowsPowerShell\v1.0

So, where is the v2.0 or v3.0 folder?

like image 885
smwikipedia Avatar asked Dec 16 '12 16:12

smwikipedia


1 Answers

Just like how 64-bit system files in Windows are in System32, all versions of Powershell install into the path that says v1.0. One of the things that MS doesn't seem to learn from. Didn't you wonder that Powershell script files have the extension ps1, psm1 etc?

like image 178
manojlds Avatar answered Oct 20 '22 12:10

manojlds