Sometimes you need to check the PowerShell version of your Windows System, to get the PowerShell version you need to open a PowerShell prompt (taskbar type PowerShell).
This information is contained in the following variable:
1 2 3 |
#Get PowerShell Version $PSVersionTable |
Will give you the exact version.
Other commands which can be used are:
1 2 3 4 5 |
#Get PowerShell Version get-host | select version #OR $host.version |