id: b12892ce711245debbf240c2b8fb1574
parent_id: 
item_type: 1
item_id: 8b77b5a9a4d8475d8e2fe599f39dd82f
item_updated_time: 1764345515635
title_diff: "[{\"diffs\":[[1,\"在 Windows 上安装 PowerShell - PowerShell\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":37}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>在 Windows 上安装 PowerShell - PowerShell</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"place-name\\\" content=\\\"ip4:183.192.222.233\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"47632\\\"></a>\\\r\\\n<h1>在 Windows 上安装 PowerShell - PowerShell</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:article\\\"><div style=\\\"font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"line-height:1.15;font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Variable Text&quot;, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-weight:400;overflow:hidden scroll;text-size-adjust:100%;box-sizing:border-box;font-size:16px;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-color:rgb(255, 255, 255);color:rgb(22, 22, 22);outline-color:rgb(22, 22, 22);color-scheme:light;max-inline-size:100vw;--window-inner-height:834px !important;--atlas-header-height:178px !important;--atlas-footer-height:128px !important;--atlas-header-visible-height:0px !important;--atlas-footer-visible-height:0px !important;\\\"><div style=\\\"-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Variable Text&quot;, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-weight:400;box-sizing:inherit;background-color:rgb(255, 255, 255);color:rgb(22, 22, 22);line-height:160%;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><div style=\\\"box-sizing:inherit;outline-color:inherit;padding-block-start:24px;\\\"><div style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\\n\\t\\t<div style=\\\"box-sizing:inherit;background-color:rgb(255, 255, 255);margin-block-end:16px;outline-color:rgb(22, 22, 22);\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;justify-content:space-between;align-items:center;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\\n\\t\\t\\\n\\\n\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;overflow:hidden;padding-inline-start:8px;margin-inline-end:48px;margin-inline-start:-0.5rem;display:block;white-space:nowrap;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<ol style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;font-size:14px;\\\"><span style=\\\"font-size:14px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\t\\t\\t\\t\\t<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;padding-block:0.375em;display:inline-block;\\\"><span style=\\\"color:var(--theme-text-subtle);display:inline-block;box-sizing:inherit;\\\">​/</span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\\\"https://learn.microsoft.com/zh-cn/?view=powershell-7.5\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Learn<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"color:var(--theme-text-subtle);display:inline-block;margin-inline:0.25em;box-sizing:inherit;\\\">​/</span></li>\\\n\\t\\t\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\t\\t\\t\\t\\t<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;padding-block:0.375em;display:inline-block;\\\"><span style=\\\"color:var(--theme-text-subtle);display:inline-block;box-sizing:inherit;\\\">​/</span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\\\"https://learn.microsoft.com/zh-cn/powershell/?view=powershell-7.5\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"color:var(--theme-text-subtle);display:inline-block;margin-inline:0.25em;box-sizing:inherit;\\\">​/</span></li>\\\n\\t\\t\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\t<span style=\\\"font-size:14px;box-sizing:inherit;\\\"></span></ol>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t \\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;align-items:stretch;margin-inline-start:auto;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\\n\\t\\t\\\n\\t\\t\\\n\\t\\t\\\n\\t \\\n\\t\\t<div style=\\\"font-family:inherit;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;user-select:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;position:relative;line-height:1.5;appearance:button;outline-color:inherit;border-width:1px;border-color:rgb(209, 209, 209);text-align:center;font-weight:600;text-decoration:none;border-radius:4px;justify-content:center;padding-block:calc(0.375em - 1px);padding-inline:0.75em;background-color:rgb(255, 255, 255);color:rgb(22, 22, 22);cursor:pointer;font-size:14px;display:inline-flex;flex-shrink:0;margin-inline-end:8px;\\\"><span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;color:rgb(22, 22, 22);text-align:center;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:0.375em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Focus mode<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;color:rgb(22, 22, 22);text-align:center;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></div>\\\n\\t \\\n\\\n\\t\\t\\t<div style=\\\"outline-color:inherit;position:relative;display:inline-block;box-sizing:border-box;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<div style=\\\"user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;display:inline-flex;outline-color:inherit;border-width:1px;text-align:center;font-weight:600;text-decoration:none;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;list-style:none;font-size:14px;border-color:rgba(0, 0, 0, 0);background-color:rgba(0, 0, 0, 0);color:rgb(15, 108, 189);box-sizing:border-box;justify-content:flex-start;\\\" title=\\\"更多操作\\\"><span style=\\\"font-size:14px;line-height:1.5;color:rgb(15, 108, 189);text-align:center;cursor:pointer;font-weight:600;list-style:none;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin:0px;\\\"><span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:rgb(15, 108, 189);text-align:center;cursor:pointer;font-weight:600;list-style:none;box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t<div style=\\\"outline-color:inherit;border:0.666667px solid rgb(230, 230, 230);background-color:rgb(255, 255, 255);width:224px;box-shadow:rgba(0, 0, 0, 0.13) 0px 6.4px 14.4px 0px, rgba(0, 0, 0, 0.11) 0px 1.2px 3.6px 0px;visibility:hidden;z-index:1060;border-radius:4px;padding:16px;position:absolute;inset-inline-start:0px;transform:none;box-sizing:border-box;\\\"><span style=\\\"visibility:hidden;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\\n\\t\\t\\\n\\t \\\n\\t\\t<a style=\\\"outline:0px;box-sizing:inherit;user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;outline-color:inherit;overflow-wrap:break-word;border-width:1px;font-weight:600;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;text-decoration:none;font-size:14px;width:100%;display:flex;background-color:rgba(0, 0, 0, 0);border-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;\\\"><span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;\\\"><span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">１</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>使用英语阅读<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span></a>\\\n\\t \\\n\\t\\t<div style=\\\"font-family:inherit;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;user-select:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;position:relative;line-height:1.5;appearance:button;outline-color:inherit;border-width:1px;font-weight:600;text-decoration:none;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;border-color:rgba(0, 0, 0, 0);background-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;\\\" title=\\\"将 在 Windows 上安装 PowerShell - PowerShell | Microsoft Learn 添加到集合\\\"><span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;\\\"><span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>添加到集合<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></div>\\\n\\t\\\n\\t\\t\\t\\t\\t\\\n\\t\\t<div style=\\\"font-family:inherit;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;user-select:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;position:relative;line-height:1.5;appearance:button;outline-color:inherit;border-width:1px;font-weight:600;text-decoration:none;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;border-color:rgba(0, 0, 0, 0);background-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;\\\" title=\\\"将 在 Windows 上安装 PowerShell - PowerShell | Microsoft Learn 添加到计划\\\"><span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;\\\"><span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>添加到计划<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></div>\\\n\\t  \\\n\\t\\t\\t\\t\\t\\\n\\t\\t<hr style=\\\"overflow:visible;margin:0px;padding:0px;border-style:solid;border-width:1px 0px 0px;border-color:rgb(230, 230, 230);height:0px;box-sizing:inherit;outline-color:inherit;margin-block:8px;\\\"/><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t<h4 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;padding-inline-start:8px;font-size:14px;\\\"><span style=\\\"font-size:14px;font-weight:600;box-sizing:inherit;\\\"></span>通过<span style=\\\"font-size:14px;font-weight:600;box-sizing:inherit;\\\"></span></h4>\\\n\\t\\t\\\n\\t\\t\\t\\t\\t<a style=\\\"outline:0px;box-sizing:inherit;user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;outline-color:inherit;overflow-wrap:break-word;border-width:1px;font-weight:600;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;background-color:rgba(0, 0, 0, 0);border-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;text-decoration:none;\\\"><span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;color:rgb(15, 108, 189);\\\"><span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">ﾑ</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Facebook<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span></a>\\\n\\\n\\t\\t\\t\\t\\t<a style=\\\"outline:0px;box-sizing:inherit;user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;outline-color:inherit;overflow-wrap:break-word;border-width:1px;font-weight:600;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;background-color:rgba(0, 0, 0, 0);border-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;text-decoration:none;\\\"><span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;color:rgb(22, 22, 22);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">ﾓ</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(22, 22, 22);font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>x.com 共享<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span></a>\\\n\\\n\\t\\t\\t\\t\\t<a style=\\\"outline:0px;box-sizing:inherit;user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;outline-color:inherit;overflow-wrap:break-word;border-width:1px;font-weight:600;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;background-color:rgba(0, 0, 0, 0);border-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;text-decoration:none;\\\"><span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;color:rgb(15, 108, 189);\\\"><span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>LinkedIn<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t\\t\\t<a style=\\\"outline:0px;box-sizing:inherit;user-select:none;appearance:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;line-height:1.5;position:relative;outline-color:inherit;overflow-wrap:break-word;border-width:1px;font-weight:600;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;background-color:rgba(0, 0, 0, 0);border-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;text-decoration:none;\\\"><span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;color:rgb(15, 108, 189);\\\"><span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">Ｆ</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>电子邮件<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"font-size:14px;line-height:1.5;color:currentcolor;cursor:pointer;text-align:start;font-weight:600;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t  \\\n\\t \\\n\\t\\t<hr style=\\\"overflow:visible;margin:0px;padding:0px;border-style:solid;border-width:1px 0px 0px;border-color:rgb(230, 230, 230);height:0px;box-sizing:inherit;outline-color:inherit;margin-block:8px;\\\"/><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t<div style=\\\"font-family:inherit;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;user-select:none;min-height:2.25em;box-shadow:none;vertical-align:top;border:1px solid rgba(0, 0, 0, 0);align-items:center;position:relative;line-height:1.5;appearance:button;outline-color:inherit;border-width:1px;font-weight:600;text-decoration:none;border-radius:4px;padding-block:calc(0.375em - 1px);padding-inline:0.75em;cursor:pointer;font-size:14px;width:100%;display:flex;border-color:rgba(0, 0, 0, 0);background-color:rgba(0, 0, 0, 0);color:currentcolor;justify-content:flex-start;text-align:start;\\\"><span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:0.875em;margin-inline-end:0.375em;color:rgb(15, 108, 189);\\\"><span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(15, 108, 189);font-size:0.875em;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>打印<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"font-size:14px;line-height:1.5;font-family:inherit;text-transform:none;text-align:start;color:currentcolor;cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></div>\\\n\\t\\\n\\t\\t\\t\\t<span style=\\\"visibility:hidden;box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t  \\\n\\t\\t\\\n\\t\\t\\\n\\t\\\n\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><h1 style=\\\"padding:0px;margin:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;word-break:break-word;line-height:1.3;font-size:clamp(1.875rem, 22.1053px + 1.64474vw, 2.5rem);margin-top:-10px;margin-bottom:0px;\\\"><span style=\\\"font-size:clamp(1.875rem, 22.1053px + 1.64474vw, 2.5rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>在 Windows 上安装 PowerShell<span style=\\\"font-size:clamp(1.875rem, 22.1053px + 1.64474vw, 2.5rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h1><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t\\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;margin-block:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<ul dir=\\\"ltr\\\" lang=\\\"zh-cn\\\" style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(80, 80, 80);font-size:14px;flex-wrap:wrap;list-style:none;display:flex;margin:0px;padding:0.125rem 0px 0px;\\\"><span style=\\\"list-style:none;color:rgb(80, 80, 80);font-size:14px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;flex-basis:auto;align-items:center;list-style:none;display:flex;margin-left:0px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>2025/10/16<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></li>  \\\n\\t\\t\\t<span style=\\\"list-style:none;color:rgb(80, 80, 80);font-size:14px;box-sizing:inherit;\\\"></span></ul>\\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t \\\n\\t\\t\\t\\t\\\n\\t\\t  \\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t \\\n\\t\\t\\\n\\t\\\n\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>有多种方法可以在 Windows 中安装 PowerShell。 每种安装方法旨在支持不同的方案和工作流。 选择最符合需求的方法。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#winget\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>WinGet<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> - 在 Windows 客户端上安装 PowerShell 的建议方法<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#msi\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>MSI 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> - Windows Server 和企业部署方案的最佳选择<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>ZIP 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> -“旁加载”或安装多个版本的最简单方法 <ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:0px 0px 0px 20px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>将此方法用于 Windows Nano Server、Windows IoT 和基于 Arm 的系统<span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#dotnet\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>.NET 全局工具<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> - 非常适用于安装和使用其他全局工具的 .NET 开发人员<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#msstore\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Microsoft Store 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> - 适用于 PowerShell 临时用户进行安装的一种简单方法，但有一些限制<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>本文中的安装命令适用于最新稳定版的 PowerShell。 若要安装不同版本的 PowerShell，请调整命令以匹配所需的版本。 以下链接将引导你到 GitHub 上每个版本的最新发布页面。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;max-width:100%;margin:16px 0px 16px 38px;margin-bottom:0px;line-height:1.8;\\\"><span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>稳定版本 v7.5。<em style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>x<span style=\\\"box-sizing:inherit;\\\"></span></em>： <a href=\\\"https://aka.ms/powershell-release?tag=stable\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>https://aka.ms/powershell-release?tag=stable<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>LTS 版本 v7.4.<em style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>x<span style=\\\"box-sizing:inherit;\\\"></span></em>：<a href=\\\"https://aka.ms/powershell-release?tag=lts\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>https://aka.ms/powershell-release?tag=lts<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>预览版 v7.6.0-preview.<em style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>x<span style=\\\"box-sizing:inherit;\\\"></span></em>：<a href=\\\"https://aka.ms/powershell-release?tag=preview\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>https://aka.ms/powershell-release?tag=preview<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可在“版本”页的“资产”部分中找到每个包的下载链接。 由于“资产”  部分可能处于折叠状态，因此可能需要单击展开它。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>\\\n              <a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>使用 WinGet 安装 PowerShell（建议）<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>WinGet（Windows 包管理器）是一种命令行工具，允许用户在 Windows 客户端计算机上发现、安装、升级、删除和配置应用程序。 此工具是 Windows 程序包管理器服务的客户端接口。 默认情况下，<code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 命令行工具作为应用安装程序与 Windows 11 和现代版本的 Windows 10 捆绑在一起。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要查看系统要求列表和安装说明，请参阅 <a href=\\\"https://learn.microsoft.com/zh-cn/windows/package-manager/winget\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>winget<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a> 文档。\\\n\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 在 Windows Server 2022 或更低版本上不可用。 Windows Server 2025 预览版内部版本 26085 及更高版本包括仅适用于具有桌面体验的 Windows Server 的 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><strong style=\\\"font-weight:600;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span></strong>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>通过以下命令，可使用已发布的 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 包安装 PowerShell：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>搜索最新版本的 PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>winget search Microsoft.PowerShell\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Output<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span>Name               Id                           Version Source\\\n---------------------------------------------------------------\\\nPowerShell         Microsoft.PowerShell         7.5.4.0 winget\\\nPowerShell Preview Microsoft.PowerShell.Preview 7.6.0.5 winget\\\n<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>使用 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>id<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 参数安装 PowerShell 或 PowerShell 预览版<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>winget install<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --id<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Microsoft.PowerShell<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --source<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> winget\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>winget install<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --id<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Microsoft.PowerShell.Preview<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --source<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> winget\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>在使用 X86 或 X64 处理器的 Windows 系统上，<code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 安装 MSI 包。 在使用 Arm64 处理器的系统上，<code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winget<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 安装 Microsoft Store (MSIX) 包。 有关详细信息，请参阅 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#msstore\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>从 Microsoft Store 安装<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>\\\n              <a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>安装 MSI 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要在 Windows 上安装 PowerShell，请使用以下链接从 GitHub 下载安装包。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x64.msi\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-x64.msi<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x86.msi\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-x86.msi<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-arm64.msi\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-arm64.msi<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>下载后，双击安装程序文件并按照提示进行操作。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>安装程序在 Windows“开始”菜单中创建一个快捷方式。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>默认情况下，包安装位置为 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\&lt;version&gt;<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>可以通过“开始”菜单或 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\&lt;version&gt;\\\\pwsh.exe<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 启动 PowerShell<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell 7.5 安装到新目录，并与 Windows PowerShell 5.1 并行运行。\\\nPowerShell 7.5 是一种就地升级，它将替换并移除以前版本的 PowerShell 7。 PowerShell 的预览版可以与其他版本的 PowerShell 并行安装。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;max-width:100%;margin:16px 0px 16px 38px;margin-bottom:0px;line-height:1.8;\\\"><span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>PowerShell 7.5 已安装到 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\7<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\7<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 文件夹已添加到 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:PATH<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>如果需要与其他版本并行运行 PowerShell 7.5，请使用 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>ZIP 安装<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a> 方法将其他版本安装到其他文件夹。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:18.2px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h3 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);margin-top:30px;margin-bottom:18px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>PowerShell 7.2 及更高版本中对 Microsoft 更新的支持<span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h3><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell 7.2 及更高版本支持 Microsoft 更新。 启用此功能时，你将在传统 Microsoft 更新 (MU) 管理流中获得最新的 PowerShell 7 更新，无论是包含适用于企业的 Windows 更新、WSUS、Microsoft Endpoint Configuration Manager，还是包含设置中的交互式 MU 对话框。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell MSI 包包含以下命令行选项：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>USE_MU<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 该属性有两个可能值：<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:0px 0px 0px 20px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>1<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>（默认）- 选择通过 Microsoft 更新、WSUS 或 Configuration Manager 进行更新<span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>0<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 不选择通过 Microsoft 更新、WSUS 或 Configuration Manager 进行更新<span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ENABLE_MU<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:0px 0px 0px 20px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>1<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>（默认）- 选择加入使用 Microsoft 更新进行自动更新<span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>0<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 不选择使用 Microsoft 更新<span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可能已在之前的安装或手动配置中设置了启用更新。 使用 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ENABLE_MU=0<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 并不会删除现有设置。 此外，您的管理员控制的组策略设置可以覆盖此设置。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>有关详细信息，请参阅 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/microsoft-update-faq?view=powershell-7.5\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell Microsoft 更新常见问题解答<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:18.2px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h3 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);margin-top:30px;margin-bottom:18px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>从命令行安装 MSI 包<span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h3><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可以通过命令行安装 MSI 包，这样管理员能够在没有用户交互的情况下部署包。 MSI 包中有下列控制安装选项的属性：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制添加 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Open PowerShell<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 项到 Windows 资源管理器上下文菜单的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制添加 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Run with PowerShell<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 项到 Windows 资源管理器上下文菜单的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ENABLE_PSREMOTING<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制用于在安装过程中启用 PowerShell 远程处理的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>REGISTER_MANIFEST<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制Windows事件日志清单注册的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>ADD_PATH<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制用于将 PowerShell 添加到 Windows PATH 环境变量的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>DISABLE_TELEMETRY<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性通过设置 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>POWERSHELL_TELEMETRY_OPTOUT<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 环境变量来控制用于禁用 PowerShell 遥测的选项。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>INSTALLFOLDER<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> - 此属性控制安装目录。 默认为 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>。 这是安装程序创建按版本管理的子文件夹的位置。 不能更改带版本的子文件夹的名称。\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:0px 0px 0px 20px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>对于当前发布，版本化的子文件夹是 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>7<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:circle;\\\"><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span>对于预览版本，版本控制子文件夹为 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>7-preview<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style-type:circle;list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>下面的示例展示了如何在启用所有安装选项的情况下无提示安装 PowerShell。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>msiexec.exe /package PowerShell-<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>7.5<span style=\\\"box-sizing:inherit;\\\"></span></span>.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>4<span style=\\\"box-sizing:inherit;\\\"></span></span>-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> ENABLE_PSREMOTING=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> REGISTER_MANIFEST=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> USE_MU=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> ENABLE_MU=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span> ADD_PATH=<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>1<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>有关 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Msiexec.exe<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 命令行选项的完整列表，请参阅<a href=\\\"https://learn.microsoft.com/zh-cn/windows/desktop/Msi/command-line-options\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>命令行选项<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>\\\n              <a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>安装 ZIP 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>提供有 PowerShell 二进制 ZIP 存档，从而支持高级部署方案。 从<a href=\\\"https://github.com/PowerShell/PowerShell/releases/latest\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>当前版本<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>页下载以下 ZIP 存档之一。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x64.zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-x64.zip<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x86.zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-x86.zip<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-arm64.zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell-7.5.4-win-arm64.zip<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>根据该文件的下载方式，你可能需要使用 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Unblock-File<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> cmdlet 解锁。 将内容解压到你选择的位置，然后从该位置运行 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>pwsh.exe<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>。 与安装 MSI 包不一样，安装 ZIP 存档不会检查先决条件。 为了让使用 WSMan 的远程处理能够正常运行，请确保已满足<a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#powershell-remoting\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>先决条件<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>使用此方法在类似于 Microsoft Surface Pro X 的计算机上安装基于 ARM 的 PowerShell 版本。为获得最佳结果，请将 PowerShell 安装到 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\7<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 文件夹。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>\\\n              <a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>作为 .NET 全局工具安装<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>如果你已安装 <a href=\\\"https://learn.microsoft.com/zh-cn/dotnet/core/sdk\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>.NET Core SDK<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>，则可以安装 PowerShell 作为 <a href=\\\"https://learn.microsoft.com/zh-cn/dotnet/core/tools/global-tools\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>.NET 全局工具<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span>dotnet tool install --global PowerShell\\\n<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>dotnet 工具安装程序将 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$HOME\\\\.dotnet\\\\tools<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 添加到 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:PATH<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 环境变量中。\\\n不过，当前运行的 shell 没有更新后的 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:PATH<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>。 若要从新 shell 启动 PowerShell，可以键入“<code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>pwsh<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>”。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>\\\n              <a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>从 Microsoft Store 安装<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可在 Microsoft Store 中安装 PowerShell。 你可以在 <a href=\\\"https://www.microsoft.com/store/apps/9MZ1SNWT0N5D\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Microsoft Store<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 网站上或在 Windows 应用商店应用程序中找到 PowerShell 版本。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Microsoft Store 包的权益：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>直接内置于 Windows 的自动更新<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>与其他软件分发机制（如 Intune 和 Configuration Manager）集成<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>可以使用 x86、x64 或 Arm64 处理器在 Windows 系统上安装<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:18.2px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h3 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);margin-top:30px;margin-bottom:18px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>已知的限制<span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h3><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>默认情况下，Windows 应用商店包在应用程序沙盒中运行，后者用于虚拟化对某些文件系统和注册表位置的访问。 对虚拟化文件和注册表位置的更改不会在应用程序沙盒外部保留。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>此沙盒会阻止对应用程序的根文件夹进行的所有更改。 不能修改存储在 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$PSHOME<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 中的任何系统级配置设置。 其中包括 WSMAN 配置。 这可以防止远程会话连接到 PowerShell 的基于应用商店的安装。 支持用户级配置和 SSH 远程处理。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>以下命令需要写入 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$PSHOME<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>。 PowerShell 的 Microsoft Store 实例中不支持这些命令。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Register-PSSessionConfiguration<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Update-Help -Scope AllUsers<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Enable-ExperimentalFeature -Scope AllUsers<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Set-ExecutionPolicy -Scope LocalMachine<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>有关详细信息，请参阅<a href=\\\"https://learn.microsoft.com/zh-cn/windows/msix/desktop/desktop-to-uwp-behind-the-scenes\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>了解打包的桌面应用如何在 Windows 上运行<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>从 PowerShell 7.2 开始，PowerShell 包不再受文件和注册表虚拟化的影响。 现在，对虚拟化文件和注册表位置的更改会在应用程序沙盒外部保留。 不过，仍会阻止对应用程序根文件夹所做的更改。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(235, 243, 252);border:0.666667px solid rgb(17, 94, 163);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(17, 94, 163);\\\"><span style=\\\"color:rgb(17, 94, 163);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">）</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 重要<span style=\\\"color:rgb(17, 94, 163);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>要使此例外生效，你必须在 Windows 1903 或更高版本上运行。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>安装预览版本<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell 7 的预览版安装到 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\7-preview<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>，这样它们可以与 PowerShell 的非预览版并行运行。 PowerShell 7.6 是下一个预览版。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>升级现有安装<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要在升级时获得最佳结果，应使用首次安装 PowerShell 时使用的相同安装方法。 如果不确定 PowerShell 的安装方式，可以检查 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$PSHOME<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 变量的值，该变量始终指向包含当前会话运行的 PowerShell 的目录。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>如果值为 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$HOME\\\\.dotnet\\\\tools<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>，则 PowerShell 随 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#dotnet\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>.NET Global 工具<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>一起安装。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>如果值是 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\PowerShell\\\\7<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>，则 PowerShell 作为 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#msi\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>MSI 包安装<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>，或用 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#winget\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>WinGet<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 在具有 X86 或 x64 处理器的计算机上安装。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>如果该值以 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>$Env:ProgramFiles\\\\WindowsApps\\\\<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code>开头，PowerShell 被作为 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#msstore\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Microsoft 应用商店包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 或通过 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#winget\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>WinGet<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 安装在具有 ARM 处理器的计算机上。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>如果该值是其他任何值，则可能表明 PowerShell 是作为 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5#zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>ZIP 包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 安装的。<span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>如果是通过 MSI 包安装的，则该信息还会显示在<strong style=\\\"font-weight:600;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span>“程序和功能”<span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span></strong>控制面板中。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要确定是否可以使用 WinGet 升级 PowerShell，请运行以下命令：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>winget list<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --id<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Microsoft.PowerShell<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --upgrade-available<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>如果有可用的升级，输出会指示最新的可用版本。 使用以下命令通过 WinGet 升级 PowerShell：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>winget upgrade<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> --id<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Microsoft.PowerShell\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>Windows 10 IoT 企业版部署<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Windows 10 IoT 企业版随附 Windows PowerShell，可用来部署 PowerShell 7。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Replace the placeholder information for the following variables:<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$deviceip<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'&lt;device ip address'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$zipfile<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'PowerShell-7.5.4-win-arm64.zip'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$downloadfolder<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'U:\\\\Users\\\\Administrator\\\\Downloads'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>  <span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># The download location is local to the device.<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n    <span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># There should be enough  space for the zip file and the unzipped contents.<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Create PowerShell session to target device<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Set-Item<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Path<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> WSMan:\\\\localhost\\\\Client\\\\TrustedHosts <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$deviceip<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$S<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>New-PSSession<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -ComputerName<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$deviceIp<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Credential<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Administrator\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Copy the ZIP package to the device<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Copy-Item<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$zipfile<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Destination<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$downloadfolder<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -ToSession<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$S<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span>#Connect to the device and expand the archive<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Enter-PSSession<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$S<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Set-Location<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> U:\\\\Users\\\\Administrator\\\\Downloads\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Expand-Archive<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> .\\\\PowerShell-<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>7.5<span style=\\\"box-sizing:inherit;\\\"></span></span>.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>4<span style=\\\"box-sizing:inherit;\\\"></span></span>-<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>win-arm64<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span>.zip\\\n\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Set up remoting to PowerShell 7<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Set-Location<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> .\\\\PowerShell-<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>7.5<span style=\\\"box-sizing:inherit;\\\"></span></span>.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>4<span style=\\\"box-sizing:inherit;\\\"></span></span>-<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>win-arm64<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Be sure to use the -PowerShellHome parameter otherwise it tries to create a new<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># endpoint with Windows PowerShell 5.1<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n.\\\\<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Install-PowerShellRemoting<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span>.ps1<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -PowerShellHome<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> .\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>设置 PowerShell 远程处理时，你收到一条错误消息，并与设备断开连接。\\\nPowerShell 必须重启 WinRM。 现在可以连接到设备上的 PowerShell 7 端点。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Be sure to use the -Configuration parameter. If you omit it, you connect to Windows PowerShell 5.1<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Enter-PSSession<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -ComputerName<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$deviceIp<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Credential<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> Administrator<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Configuration<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> PowerShell.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>7.5<span style=\\\"box-sizing:inherit;\\\"></span></span>.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>4<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>Windows 10 IoT 核心版部署<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>当你添加 IOT_POWERSHELL  功能后，Windows 10 IoT 核心版便会添加 Windows PowerShell，我们可以使用它来部署 PowerShell 7。 对于 IoT 核心版，还可以遵循为 Windows 10 IoT 企业版定义的步骤。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要在随附映像中添加最新的 PowerShell，请使用 <a href=\\\"https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Import-PSCoreRelease<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a> 命令在工作区域中添加包，然后将 OPENSRC_POWERSHELL 功能添加到映像中。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>对于 ARM64 体系结构，在你添加 IOT_POWERSHELL 功能后，它不会添加 Windows PowerShell。 因此，基于 zip 的安装将不起作用。 需要使用 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>Import-PSCoreRelease<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 命令将其添加到映像中。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>在 Nano Server 上进行部署<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>为了更好地理解这些说明，假定 Nano Server 是已运行 PowerShell 版本的“无外设”操作系统。 有关详细信息，请参阅 <a href=\\\"https://learn.microsoft.com/zh-cn/windows-server/get-started/deploy-nano-server\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Nano Server 映像生成器<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>文档。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可以使用两种不同的方法来部署 PowerShell 二进制文件。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ol style=\\\"padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:decimal;\\\"><span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span>脱机 - 安装 Nano Server VHD，并将 zip 文件的内容解压到安装映像中的所选位置。<span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:decimal;\\\"><span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span>联机 - 通过 PowerShell 会话传输 zip 文件，并在所需位置中将其解压。<span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></ol>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>在这两种情况下，都需要 <a href=\\\"https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x64.zip\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Windows x64 ZIP 版本包<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。 在 PowerShell 的“管理员”实例中运行命令。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:18.2px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h3 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);margin-top:30px;margin-bottom:18px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>PowerShell 脱机部署<span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h3><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<ol style=\\\"padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:decimal;\\\"><span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span>使用常用 zip 实用工具将包解压到已安装的 Nano Server 映像中的目录。<span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:decimal;\\\"><span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span>卸载映像并启动。<span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;list-style-type:decimal;\\\"><span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span>连接到 Windows PowerShell 的内置实例。<span style=\\\"list-style:outside;list-style-type:decimal;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></ol>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:18.2px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h3 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);margin-top:30px;margin-bottom:18px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>PowerShell 在线部署<span style=\\\"font-size:clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h3><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>若要将 PowerShell 部署到 Nano Server，请按照以下步骤操作。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"outline-color:inherit;background-color:rgb(230, 230, 230);color:rgb(22, 22, 22);border-bottom:0px;flex-direction:row;min-height:30px;margin-top:16px;font-size:12.8px;display:flex;box-sizing:content-box;\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;flex-grow:1;align-items:center;padding:2px 16px;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t<div style=\\\"font-family:inherit;font-size:100%;overflow:visible;text-transform:none;margin:0px;box-sizing:inherit;appearance:button;outline-color:inherit;border-left-width:1px;align-items:center;padding:2px 10px;display:flex;line-height:normal;color:rgb(22, 22, 22);cursor:pointer;background-color:rgba(0, 0, 0, 0);position:relative;\\\"><span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">＝</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>复制<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:rgb(255, 255, 255);opacity:0;transition:opacity 0.5s ease-in-out;display:flex;justify-content:center;align-items:center;position:absolute;inset-block-start:0px;inset-inline-end:0px;inset-block-end:0px;inset-inline-start:0px;color:rgb(255, 255, 255);background-color:rgb(16, 124, 16);\\\"><span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;font-size:18px;\\\"><span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t<span style=\\\"font-size:18px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t<span style=\\\"color:rgb(255, 255, 255);box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"font-family:inherit;font-size:100%;line-height:normal;text-transform:none;color:rgb(22, 22, 22);cursor:pointer;box-sizing:inherit;\\\"></span></div>\\\n\\t<span style=\\\"color:rgb(22, 22, 22);font-size:12.8px;box-sizing:inherit;\\\"></span></div><pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"font-size:1em;direction:ltr;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace;border:0px;padding:0px;line-height:1.3571;display:block;position:relative;box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Replace the placeholder information for the following variables:<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$ipaddr<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'&lt;Nano Server IP address&gt;'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$credential<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Get-Credential<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># &lt;An Administrator account on the system&gt;<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$zipfile<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'PowerShell-7.5.4-win-x64.zip'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Connect to the built-in instance of Windows PowerShell<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$session<span style=\\\"box-sizing:inherit;\\\"></span></span> = <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>New-PSSession<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -ComputerName<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$ipaddr<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Credential<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$credential<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Copy the file to the Nano Server instance<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Copy-Item<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$zipfile<span style=\\\"box-sizing:inherit;\\\"></span></span> C:\\\\<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -ToSession<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$session<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Enter the interactive remote session<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Enter-PSSession<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>$session<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:green;\\\"><span style=\\\"color:green;box-sizing:inherit;\\\"></span># Extract the ZIP file<span style=\\\"color:green;box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(1, 1, 253);\\\"><span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span>Expand-Archive<span style=\\\"color:rgb(1, 1, 253);box-sizing:inherit;\\\"></span></span><span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -Path<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> C:\\\\PowerShell-<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>7.5<span style=\\\"box-sizing:inherit;\\\"></span></span>.<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>4<span style=\\\"box-sizing:inherit;\\\"></span></span>-win-x64.zip<span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(0, 104, 129);\\\"><span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span> -DestinationPath<span style=\\\"color:rgb(0, 104, 129);box-sizing:inherit;\\\"></span></span> <span style=\\\"box-sizing:inherit;outline-color:inherit;color:rgb(163, 21, 21);\\\"><span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span>'C:\\\\Program Files\\\\PowerShell 7'<span style=\\\"color:rgb(163, 21, 21);box-sizing:inherit;\\\"></span></span>\\\n<span style=\\\"box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:1em;direction:ltr;line-height:1.3571;box-sizing:inherit;\\\"></span></span><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:14px;white-space:pre;word-spacing:normal;line-height:1.3571;box-sizing:inherit;\\\"></span></pre>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>PowerShell 远程处理<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>PowerShell 支持通过 WSMan 和 SSH 的 PowerShell 远程处理协议 (PSRP)。 有关详细信息，请参阅：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin:16px 0px 16px 38px;\\\"><span style=\\\"list-style:none;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/security/remoting/ssh-remoting-in-powershell?view=powershell-7.5\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>在 PowerShell 中进行 SSH 远程处理<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/security/remoting/wsman-remoting-in-powershell?view=powershell-7.5\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>在 PowerShell 中进行 WSMan 远程处理<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;box-sizing:inherit;\\\"></span></ul>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>支持的 Windows 版本<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Microsoft 在 <a href=\\\"https://learn.microsoft.com/zh-cn/powershell/scripting/install/powershell-support-lifecycle\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>PowerShell 到达支持终止日期<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>或 <a href=\\\"https://learn.microsoft.com/zh-cn/lifecycle/products/?terms=Windows%20Server&amp;products=windows\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Windows 版本到达支持终止日期<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>之前仍然支持 PowerShell。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>.NET SDK 的 Docker 映像包含最新版本的 PowerShell。 这些映像可从 <a href=\\\"https://mcr.microsoft.com/product/powershell/tags\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>Microsoft工件注册表<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>获取。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>这些映像可能没有最新的安全更新。 Microsoft 建议将 OS 包更新到最新版本，以确保应用最新的安全更新。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>这些映像用于测试目的。 如果你需要用于生产工作负载的 Docker 映像，则应该构建和维护自己的映像。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;color:rgb(22, 22, 22);overflow-wrap:break-word;word-break:break-word;border-radius:6px;margin-top:16px;padding:16px;font-size:16px;transition:height 0.5s ease-in, opacity 0.5s ease-in;display:block;position:relative;outline-color:rgb(22, 22, 22);background-color:rgb(239, 217, 253);border:0.666667px solid rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-bottom:0px;max-width:100%;margin-top:0px;font-weight:600;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">７</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span> 备注<span style=\\\"color:rgb(59, 46, 88);font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;max-width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>对特定版本的 Windows 的支持由 Microsoft 支持部门生命周期策略决定。 有关详细信息，请参阅：<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<ul style=\\\"padding:0px;list-style:none;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;max-width:100%;margin:16px 0px 16px 38px;margin-bottom:0px;line-height:1.8;\\\"><span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/lifecycle/faq/windows\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>Windows 客户端生命周期常见问题解答<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<li style=\\\"margin:0px;padding:0px;outline:0px;box-sizing:inherit;outline-color:inherit;list-style:outside;\\\"><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span>\\\n              <a href=\\\"https://learn.microsoft.com/zh-cn/lifecycle/policies/modern\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;cursor:pointer;overflow-wrap:break-word;font-weight:600;text-decoration:underline;color:rgb(59, 46, 88);\\\"><span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span>新式生命周期策略常见问题解答<span style=\\\"color:rgb(59, 46, 88);cursor:pointer;font-weight:600;box-sizing:inherit;\\\"></span></a><span style=\\\"list-style:outside;box-sizing:inherit;\\\"></span></li>\\\n<span style=\\\"list-style:none;line-height:1.8;box-sizing:inherit;\\\"></span></ul>\\\n<span style=\\\"color:rgb(22, 22, 22);font-size:16px;box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>可通过运行 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\"><span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span>winver.exe<span style=\\\"font-family:SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;font-size:85%;direction:ltr;box-sizing:inherit;\\\"></span></code> 来检查所使用的版本。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n<div style=\\\"box-sizing:inherit;outline-color:inherit;position:relative;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><a style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;text-decoration:none;font-family:docons;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;transition:opacity 0.1s linear;font-size:16px;inset-inline-start:-1.875rem;transform:translateY(-50%) scale(1);inset-block-start:22.1px;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);opacity:0;border:0px;height:1px;margin:-1px;padding:0px;overflow:hidden;overflow-wrap:normal;position:absolute;width:1px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-family:docons;font-size:16px;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></a><h2 style=\\\"margin:0px;padding:0px;font-weight:600;box-sizing:inherit;outline-color:inherit;margin-bottom:12px;font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);margin-top:32px;line-height:1.3;margin-inline-start:-1.875rem;padding-inline-start:30px;\\\"><span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span>安装支持<span style=\\\"font-size:clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem);font-weight:600;line-height:1.3;box-sizing:inherit;\\\"></span></h2><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;overflow-wrap:break-word;margin-top:16px;margin-bottom:0px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>Microsoft 支持本文档中的安装方法。 其他源可能会提供其他第三方安装方法。 尽管这些工具和方法可能有效，但 Microsoft 无法支持这些方法。<span style=\\\"box-sizing:inherit;\\\"></span></p>\\\n\\\n<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t\\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;margin-block:16px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t \\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);overflow-wrap:normal;border:0px;width:1px;height:1px;margin:-1px;padding:0px;position:absolute;overflow:hidden;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);overflow-wrap:normal;border:0px;width:1px;height:1px;margin:-1px;padding:0px;position:absolute;overflow:hidden;\\\"><span style=\\\"box-sizing:inherit;\\\"></span><span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\\n\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\\n\\t\\t\\\n\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;border:0.666667px solid rgb(230, 230, 230);border-radius:4px;position:relative;margin-block-start:48px;padding:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;flex-direction:row;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;background-color:rgb(242, 242, 242);outline-color:rgb(22, 22, 22);padding-block-end:24px;padding-inline:16px;padding-block-start:16px;width:450px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;flex-direction:column;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;padding-block-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\">６</span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-weight:600;\\\"><span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t在 GitHub 上与我们协作\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"font-weight:600;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;line-height:1.3;\\\"><span style=\\\"line-height:1.3;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t可以在 GitHub 上找到此内容的源，还可以在其中创建和查看问题和拉取请求。 有关详细信息，请参阅<a href=\\\"https://learn.microsoft.com/powershell/scripting/community/contributing/powershell-style-guide\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>参与者指南<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>。\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"line-height:1.3;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;justify-content:space-evenly;flex-direction:column;gap:16px;padding:16px;width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;align-items:flex-start;display:flex;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;margin-inline-end:16px;flex:0 0 auto;margin-right:16px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:block;position:relative;width:36px;height:36px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<img src=\\\"在 Windows 上安装 PowerShell - PowerShell_files/8MTOefAAAABklEQVQDAEJju9E7CxuQAAAAAElFTkSuQmCC\\\" type=\\\"image/png\\\" data-filename=\\\"8MTOefAAAABklEQVQDAEJju9E7CxuQAAAAAElFTkSuQmCC\\\" height=\\\"36\\\" style=\\\"border-style:none;max-width:100%;box-sizing:inherit;outline-color:inherit;width:100%;max-height:100%;display:block;height:auto;\\\" width=\\\"36\\\"/>\\\n\\t\\t\\t\\t\\t\\t\\t\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t  \\\n\\\n\\t\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;word-break:break-word;flex:1 1 auto;width:100%;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;margin-block-end:8px;font-size:20px;font-weight:600;\\\"><span style=\\\"font-size:20px;font-weight:600;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\tPowerShell\\\n\\t\\t\\t\\t\\t\\t\\t 反馈<span style=\\\"font-size:20px;font-weight:600;box-sizing:inherit;\\\"></span></p>\\\n\\t\\t\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;flex-direction:column;gap:16px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<p style=\\\"margin:0px;padding:0px;box-sizing:inherit;outline-color:inherit;line-height:1.3;\\\"><span style=\\\"line-height:1.3;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\tPowerShell\\\n\\t\\t\\t\\t\\t\\t\\t 是一个开放源代码项目。 选择一个链接以提供反馈：<span style=\\\"line-height:1.3;box-sizing:inherit;\\\"></span></p>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<div style=\\\"box-sizing:inherit;outline-color:inherit;display:flex;flex-direction:column;gap:16px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\\\"https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new?template=04-customer-feedback.yml&amp;pageUrl=https%3A%2F%2Flearn.microsoft.com%2Fzh-cn%2Fpowershell%2Fscripting%2Finstall%2Finstalling-powershell-on-windows%3Fview%3Dpowershell-7.5%23winget&amp;pageQueryParams=%3Fview%3Dpowershell-7.5&amp;contentSourceUrl=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FPowerShell-Docs%2Fblob%2Fmain%2Freference%2Fdocs-conceptual%2Finstall%2FInstalling-PowerShell-on-Windows.md&amp;documentVersionIndependentId=c5ccf493-dc82-bb65-830a-d5857048ce26&amp;platformId=ffaf2dad-107c-76c1-95c4-b35470855ae6&amp;feedback=%0A%0A%5B%E5%9C%A8%E6%AD%A4%E5%A4%84%E8%BE%93%E5%85%A5%E5%8F%8D%E9%A6%88%5D%0A&amp;author=%40sdwheeler&amp;metadata=*+ID%3A+46356aae-d82e-63ce-63cf-fe10cd47d76d%0A*+PlatformId%3A+ffaf2dad-107c-76c1-95c4-b35470855ae6+%0A*+Service%3A+**powershell**%0A*+Sub-service%3A+**conceptual**&amp;labels=needs-triage\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>提出文档问题<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\\\"https://github.com/powershell/powershell/issues/new\\\" style=\\\"background-color:rgba(0, 0, 0, 0);outline:0px;box-sizing:inherit;outline-color:inherit;color:rgb(0, 101, 179);cursor:pointer;overflow-wrap:break-word;text-decoration:none;display:block;margin-block-start:auto;font-size:16px;\\\"><span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-size:16px;box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;justify-content:center;align-items:center;display:inline-flex;width:1em;height:1em;margin-inline-end:8px;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;font-variant:normal;text-transform:none;text-align:center;-webkit-font-smoothing:antialiased;direction:ltr;font-style:normal;font-weight:400;line-height:16px;display:inline-block;\\\"><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span><span style=\\\"font-family:docons;font-size:inherit;font-variant:normal;text-transform:none;text-align:center;direction:ltr;font-style:normal;font-weight:400;line-height:16px;box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;outline-color:inherit;\\\"><span style=\\\"box-sizing:inherit;\\\"></span>提供产品反馈<span style=\\\"box-sizing:inherit;\\\"></span></span>\\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"color:rgb(0, 101, 179);cursor:pointer;font-size:16px;box-sizing:inherit;\\\"></span></a>\\\n\\t\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div>\\\n\\t\\t\\\n\\t\\\n\\t\\t\\t\\\n\\t\\t\\\n\\t\\t\\\n\\t\\t\\\n\\t\\\n\\t\\t\\\n\\t\\t\\t\\t<span style=\\\"box-sizing:inherit;\\\"></span></div></div></span></div></div></div></div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":247025}]"
metadata_diff: {"new":{"id":"8b77b5a9a4d8475d8e2fe599f39dd82f","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345856426,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:22.781Z
created_time: 2025-11-28T16:20:22.781Z
type_: 13