I believe this in C:\Windows\System32\WindowsPowershell\v1.0\ . To confuse the innocent, MS stored it in a directory labeled "v1.0". Doing this on Windows 7 and checking the version number using $Host.Version ( determine the installed version of PowerShell ) shows it 2.0.
Another option is to enter $PSVersionTable at the command prompt. If you are working with version 2.0, the output will be:
Name Value ---- ----- CLRVersion 2.0.50727.4927 BuildVersion 6.1.7600.16385 PSVersion 2.0 WSManStackVersion 2.0 PSCompatibleVersions {1.0, 2.0} SerializationVersion 1.1.0.1 PSRemotingProtocolVersion 2.1
If you are working with version 1.0, the variable does not exist and there will be no output.
Localization of PowerShell version 1.0, 2.0, 3.0, 4.0:
- 64-bit: C: \ Windows \ System32 \ WindowsPowerShell \ v1.0 \
- 32-bit version: C: \ Windows \ SysWOW64 \ WindowsPowerShell \ v1.0 \
doobop Nov 10 2018-10-10 14:14
source share