{"id":25502,"date":"2022-07-02T12:59:27","date_gmt":"2022-07-02T10:59:27","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=25502"},"modified":"2022-07-02T12:59:27","modified_gmt":"2022-07-02T10:59:27","slug":"experiment-windows-pe-mit-powershell-7-integration","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2022\/07\/02\/experiment-windows-pe-mit-powershell-7-integration\/","title":{"rendered":"Experiment: Windows PE with PowerShell 7 integration"},"content":{"rendered":"<p><img decoding=\"async\" title=\"Windows\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" alt=\"Windows\" src=\"https:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2021\/04\/Windows-klein.jpg\" width=\"200\" align=\"left\">[<a href=\"https:\/\/www.borncity.com\/blog\/2022\/07\/02\/experiment-windows-pe-mit-powershell-7-integration\/\" target=\"_blank\" rel=\"noopener\">German<\/a>]One more short information for people from the readership who like to experiment. Johan Arwidmark has looked into the question of whether PowerShell 7 can be installed on Windows PE. Windows PE is the pre-install environment of Windows, which is also used for recovery disks. Arwidmark has automated the whole thing by script and writes that it is possible for Windows 11 21H1 and Windows 11 22H2..<\/p>\n<p><!--more--><\/p>\n<h2>Windows PE with PowerShell 7<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg04.met.vgwort.de\/na\/02a2084cb87642fdb5e61ef097cde3e1\" width=\"1\" height=\"1\">I came across this <a href=\"https:\/\/twitter.com\/jarwidmark\/status\/1542895995574525952\" target=\"_blank\" rel=\"noopener\">tweet<\/a> from Johan Arwidmark on this topic yesterday, Friday. He posted the script online in the post <a href=\"https:\/\/www.deploymentresearch.com\/adding-powershell-7-to-winpe\/\" target=\"_blank\" rel=\"noopener\">Adding PowerShell 7 to WinPE<\/a>. In his post he wrote:<\/p>\n<p><a href=\"https:\/\/twitter.com\/jarwidmark\/status\/1542895995574525952\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"Windows PE with PowerShell 7 Integration\" alt=\"Windows PE with PowerShell 7 Integration\" src=\"https:\/\/i.imgur.com\/d3RY4Cp.png\"><\/a><\/p>\n<blockquote>\n<p>While not officially supported, PowerShell 7 seems to play somewhat nicely in WinPE. Here is a short script that adds it into WinPE build 10.1.22000.1 (Windows ADK for Windows 11 21H2) or WinPE build 10.0.22621.1 (Windows ADK for Windows 11 22H2).  <\/p>\n<p><strong>Note #1:<\/strong> This will probably work in older Windows ADK versions as well, I just haven't tried.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>[German]One more short information for people from the readership who like to experiment. Johan Arwidmark has looked into the question of whether PowerShell 7 can be installed on Windows PE. Windows PE is the pre-install environment of Windows, which is &hellip; <a href=\"https:\/\/borncity.com\/win\/2022\/07\/02\/experiment-windows-pe-mit-powershell-7-integration\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[194],"class_list":["post-25502","post","type-post","status-publish","format-standard","hentry","category-windows","tag-windows"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/25502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=25502"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/25502\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=25502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=25502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=25502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}