{"id":522,"date":"2021-09-30T00:27:36","date_gmt":"2021-09-30T00:27:36","guid":{"rendered":"https:\/\/262235.xyz\/?p=522"},"modified":"2021-09-30T00:27:36","modified_gmt":"2021-09-30T00:27:36","slug":"522","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/09\/30\/522\/","title":{"rendered":"Windows7 PowerShell 2.0\u5347\u7ea7\u5230 PowerShell 5.1 \u56e0\u4e3a Vagrant \u9700\u8981PowerShell 3.0\u4ee5\u4e0a\u624d\u652f\u6301"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/397428979.jpg\" alt=\"p1.jpg\" title=\"p1.jpg\"><\/p>\n<p>Windows7 sp1\u5185\u7f6e\u7684PowerShell\u7684\u7248\u672c\u662fv2.0\uff0c\u73b0\u9700\u8981\u5c06\u5176\u5347\u7ea7\u5230v5.1 \u56e0\u4e3a Vagrant \u9700\u8981PowerShell 3.0\u4ee5\u4e0a\u624d\u652f\u6301<\/p>\n<h2>\u5fae\u8f6f PowerShell 5.1\u5b89\u88c5\u5305\u4e0b\u8f7d\u5730\u5740\uff1a<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54616\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54616<\/a><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/2099863835.png\" alt=\"PowerShell1.png\" title=\"PowerShell1.png\"><\/p>\n<h3>\u4e0b\u8f7d\u6587\u4ef6 <code>Win7AndW2K8R2-KB3191566-x64.zip<\/code> \u89e3\u538b<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/1348375593.png\" alt=\"2.png\" title=\"2.png\"><\/p>\n<h3>\u53cc\u51fb <code>Win7AndW2K8R2-KB3191566-x64.msu<\/code> \u5b8c\u6210\u5347\u7ea7\u548c\u66f4\u65b0<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/2576281266.png\" alt=\"\u9519\u8bef.png\" title=\"\u9519\u8bef.png\"><\/p>\n<h3>\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u7f3a\u5c11.net \u9ad8\u7248\u672c\uff0c\u4f1a\u63d0\u793a\u9519\u8bef\uff0c\u89e3\u51b3\u65b9\u6cd5\u67092\u4e2a<\/h3>\n<ul>\n<li>\n<p>1.\u5b89\u88c5 Microsoft .NET Framework 4.61 \u548c \u7b80\u4f53\u4e2d\u6587\u8bed\u8a00\u5305<\/p>\n<pre><code># Microsoft .NET Framework 4.61\nhttps:\/\/www.microsoft.com\/zh-cn\/download\/details.aspx?id=49982\n\n#  Microsoft .NET Framework 4.61 \u7b80\u4f53\u4e2d\u6587\u8bed\u8a00\u5305\nhttps:\/\/www.microsoft.com\/zh-cn\/download\/details.aspx?id=49977<\/code><\/pre>\n<\/li>\n<li>2.\u4f7f\u7528 <code>7z<\/code> \u6253\u5f00\u5b89\u88c5\u5305\uff0c\u89e3\u538b\u83b7\u5f97 <code>Windows6.1-KB3191566-x64.cab<\/code>\uff0c\u4f7f\u7528 <code>dism<\/code> \u5de5\u5177\u5728\u7ebf\u5347\u7ea7\u5b89\u88c5<br \/><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/317427262.png\" alt=\"3.png\" title=\"3.png\"><\/li>\n<li>\n<p>\u5982\u56fe\uff0c\u8fdb\u5165cab\u5305\u76ee\u5f55\uff0c\u8fd0\u884c dism \u5728\u7ebf\u5347\u7ea7\u547d\u4ee4<\/p>\n<pre><code>dism \/online \/add-package \/packagepath:Windows6.1-KB3191566-x64.cab<\/code><\/pre>\n<h3>\u6309\u63d0\u793a\u91cd\u542f\u7cfb\u7edf\uff0c\u8fdb\u5165 <code>PowerShell<\/code>\uff0c\u8f93\u5165\u547d\u4ee4 <code>Get-Host<\/code> \u67e5\u770b\u7248\u672c\u53f7<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/2163220571.png\" alt=\"4.png\" title=\"4.png\"><\/p>\n<\/li>\n<\/ul>\n<h2>\u76f8\u5173\u6587\u7ae0: \u8d85\u7b80\u5355 Vagrant \u642d\u5efa\u672c\u5730\u865a\u62df\u5316\u73af\u5883<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.lyvba.com\/index.php\/archives\/516\/\">https:\/\/www.lyvba.com\/index.php\/archives\/516\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Windows7 sp1\u5185\u7f6e\u7684PowerShell\u7684\u7248\u672c\u662fv2.0\uff0c\u73b0\u9700\u8981\u5c06\u5176\u5347\u7ea7\u5230v5.1 \u56e0\u4e3a  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17],"class_list":["post-522","post","type-post","status-publish","format-standard","hentry","category-default","tag-vps"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/522\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}