PowerShell PowerTip: Checking your PowerShell version

Avatar

Kory

If there is one question I could say I get the most in PowerShell, it is:

How do I check my version?

Its not a hard thing, but its not an obvious thing. We can actually check our version with a build in variable called PSVersionTable

$psversiontable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 17134 48

Hope that helps, tune in more often to get short and sweet PowerTips!

0 comments

Comments are closed. Login to edit/delete your existing comments