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?
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With