{"id":167,"date":"2019-11-19T20:35:31","date_gmt":"2019-11-19T20:35:31","guid":{"rendered":"http:\/\/192.168.8.14\/?p=167"},"modified":"2020-03-29T16:20:59","modified_gmt":"2020-03-29T15:20:59","slug":"powershell-tutorial-what-version-am-i-running","status":"publish","type":"post","link":"https:\/\/www.jasonstreet.com\/?p=167","title":{"rendered":"PowerShell Tutorial, what version am I running?"},"content":{"rendered":"\n<p>Knowing the version of Powershell you are running is very important as some commands\/syntax will only work on new versions and vice-versa.<\/p>\n\n\n\n<p>To display the Powershell version, issue one of the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Get-Host | Select Version<\/li><li>$PSVersionTable<\/li><\/ul>\n\n\n\n<p>Versions of Powershell are as follows.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>V1 and V2 were released in 2006 for XP SP2, Vista and Windows Server 2003<\/li><li>V3 was first released for Windows 7 SP1 and Windows Server 2008 R1. No support for XP<\/li><li>V4 was released for Windows 7.1 and Windows Server 2008 R2<\/li><li>V5 was released as the Windows Management Framework (WMF)<\/li><li>V5.1 was released for the Windows 10 Anniversary Update and Windows Server 2012 R2<\/li><li>V6 is better known as Powershell core and was released in 2016. It is platform independent so there are installations for macOS and Linux<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Knowing the version of Powershell you are running is very important as some commands\/syntax will only work on new versions and vice-versa. To display the Powershell version, issue one of the following commands: Get-Host | Select Version $PSVersionTable Versions of Powershell are as follows. V1 and V2 were released in 2006 for XP SP2, Vista&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,27],"tags":[30],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-powershell","category-tutorial","tag-version"],"_links":{"self":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":1,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}