Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PSVersion is not recognized

After installing powershell, i tried running PSVersionTable.PSVersion and PSVersionTable to check the version, however i get the following error: enter image description here

I did install WMF-4.0 and the .NET framework versions before installing WMF-v5

Most posts point me to make sure i have .NET and WMF-4.0 installed and i cant seem to find anything else.

Note I am Using windows 7

like image 647
BlooB Avatar asked Oct 23 '25 14:10

BlooB


2 Answers

You need to enter $PsVersionTable. It is a built in variable and you access variables via $.

like image 74
Mark Wragg Avatar answered Oct 26 '25 07:10

Mark Wragg


The correct way to get the version is $PSVersionTable. It's a variable, not a call to anything.

like image 26
SomeShinyObject Avatar answered Oct 26 '25 07:10

SomeShinyObject



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!