{"id":15,"date":"2015-07-16T09:24:58","date_gmt":"2015-07-16T08:24:58","guid":{"rendered":"http:\/\/hslomka.de\/techno\/?p=15"},"modified":"2015-07-16T09:24:58","modified_gmt":"2015-07-16T08:24:58","slug":"powershell-version","status":"publish","type":"post","link":"https:\/\/techno.slomka.biz\/?p=15","title":{"rendered":"Powershell Version"},"content":{"rendered":"<p>Oft ist es relevant zu wissen, welche PowerShell Version installiert ist. Dies kann durch Ausgabe der Variablen <strong>$PSVersionTable.PSVersion<\/strong> erfolgen. In PowerShell 1.0 gibt es diese Variable noch nicht.<\/p>\n<p><code class=\"kasten\">PS > $PSVersionTable.PSVersion<\/code><br \/>\n<code><\/p>\n<p class=\"einzug\">Major  Minor  Build  Revision<br \/>\n-----  -----  -----  --------<br \/>\n2      0      -1     -1<\/p>\n<p><\/code>In diesem Fall liegt Version 2.0 vor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oft ist es relevant zu wissen, welche PowerShell Version installiert ist. Dies kann durch Ausgabe der Variablen $PSVersionTable.PSVersion erfolgen. In PowerShell 1.0 gibt es diese Variable noch nicht. PS > $PSVersionTable.PSVersion Major Minor Build Revision &#8212;&#8211; &#8212;&#8211; &#8212;&#8211; &#8212;&#8212;&#8211; 2 0 -1 -1 In diesem Fall liegt Version 2.0 vor.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[78],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-powershell"],"_links":{"self":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":0,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}