{"id":86052,"date":"2016-01-11T13:02:39","date_gmt":"2016-01-11T21:02:39","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/scripting\/?p=86052"},"modified":"2019-06-12T13:11:21","modified_gmt":"2019-06-12T21:11:21","slug":"powertip-identify-powershell-version-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-identify-powershell-version-2\/","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=\"http:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01.png\"><img decoding=\"async\" src=\"http:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01.png\" alt=\"image of command output\" width=\"1043\" height=\"441\" class=\"aligncenter size-full wp-image-86054\" srcset=\"https:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01.png 1043w, https:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01-300x127.png 300w, https:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01-768x325.png 768w, https:\/\/devblogs.microsoft.com\/scripting\/wp-content\/uploads\/sites\/29\/2016\/01\/HSG-1-11-16-01-1024x433.png 1024w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/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":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-86052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting"],"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\/86052","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\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=86052"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/86052\/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=86052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=86052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=86052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}