{"id":75821,"date":"2016-01-11T03:59:00","date_gmt":"2016-01-11T03:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2016\/01\/11\/powertip-identify-powershell-version\/"},"modified":"2019-02-18T09:20:19","modified_gmt":"2019-02-18T16:20:19","slug":"powertip-identify-powershell-version","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-identify-powershell-version\/","title":{"rendered":"PowerTip: Identify PowerShell Version"},"content":{"rendered":"<p><b>Summary<\/b>: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\">&nbsp;How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system?<\/p>\n<p style=\"margin-left:30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\">&nbsp;Use the&nbsp;<b>$PSversionTable<\/b>&nbsp;automatic variable (you can use Tab expansion to avoid some typing). <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The command and output are shown here:<\/p>\n<p style=\"margin-left:90px\"><a href=\"\/cfs-file.ashx\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-76-18\/HSG_2D00_1_2D00_11_2D00_16_2D00_01.png\"><img decoding=\"async\" src=\"\/resized-image.ashx\/__size\/550x0\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-76-18\/HSG_2D00_1_2D00_11_2D00_16_2D00_01.png\" alt=\"Image of command output\" title=\"Image of command output\"><\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan. &nbsp;How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system? &nbsp;Use the&nbsp;$PSversionTable&nbsp;automatic variable (you can use Tab expansion to avoid some typing). &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The command and output are [&hellip;]<\/p>\n","protected":false},"author":597,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[51,356,3,4,45],"class_list":["post-75821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-getting-started","tag-powertip","tag-scripting-guy","tag-scripting-techniques","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan. &nbsp;How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system? &nbsp;Use the&nbsp;$PSversionTable&nbsp;automatic variable (you can use Tab expansion to avoid some typing). &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The command and output are [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/75821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/597"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=75821"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/75821\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=75821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=75821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=75821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}