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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just like how 64-bit system files in Windows are in
System32, all versions of Powershell install into the path that saysv1.0. One of the things that MS doesn’t seem to learn from. Didn’t you wonder that Powershell script files have the extensionps1,psm1etc?