{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-tw/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"}],"update_at":"2026/8/3","updated_at_date_time":"2026-08-03T08:24:22.5677797Z"},"_path":"module/configurationmanager/new-cmsoftwareupdateautophaseddeployment.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmsoftwareupdateautophaseddeployment?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"78bd2cd4-545d-d547-1549-5df89c0e7e1f","document_version_independent_id":"fa7db03e-0879-b162-48df-742208119922","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"5e4743da651609d0ffccffebcf46f06b3732def8","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/5e4743da651609d0ffccffebcf46f06b3732def8/sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md","github_contributors":["aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.service":"microsoft-endpoint-configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-08-03 08:24 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmsoftwareupdateautophaseddeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSoftwareUpdateAutoPhasedDeployment","schemaType":"PowershellCmdlet","summary":"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。</p>\n","uid":"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment":{"href":"new-cmsoftwareupdateautophaseddeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSoftwareUpdateAutoPhasedDeployment","schemaType":"PowershellCmdlet","summary":"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。</p>\n","uid":"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment"}},"description":"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。 當您選取 [<strong>自動建立預設的兩階段部署</strong>] 選項時，此 Cmdlet 的行為與軟體更新上的 [<strong>建立階段式</strong>部署精靈] 相同。</p>\n<div class=\"NOTE\">\n<p>注意事項</p>\n<p>建立階段式部署之前，請務必將軟體更新內容發佈至發佈點。</p>\n</div>\n","examples":[{"code":"New-CMSoftwareUpdateAutoPhasedDeployment -SoftwareUpdateName \"myUpdateName\" -Name \"myPDName\" -FirstCollectionID \"SMSDM001\" -SecondCollectionID \"SMSDM003\" -CriteriaOption Compliance -CriteriaValue 1 -BeginCondition AfterPeriod -DaysAfterPreviousPhaseSuccess 2 -ThrottlingDays 3 -InstallationChoice AfterPeriod -DeadlineUnit Hours -DeadlineValue 4 -Description \"MyDescription\"","description":"","summary":"<p>此範例會為軟體更新 <strong>myUpdateName</strong> 建立名為 <strong>myDPName</strong> 的新軟體更新階段式部署。</p>\n","title":"範例 1：依更新名稱建立部署"},{"code":"$myUpdate | New-CMSoftwareUpdateAutoPhasedDeployment -Name \"myPDName\" -FirstCollectionID \"SMSDM001\" -SecondCollectionID \"SMSDM003\" -CriteriaOption Compliance -CriteriaValue 1 -BeginCondition AfterPeriod -DaysAfterPreviousPhaseSuccess 2 -ThrottlingDays 3 -InstallationChoice AfterPeriod -DeadlineUnit Hours -DeadlineValue 4 -Description \"MyDescription\"","description":"","summary":"<p>此範例會為管道軟體更新物件建立名為 <strong>myPDName</strong> 的新軟體更新階段式部署。</p>\n","title":"範例 2：依輸入更新物件建立部署"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"},{"description":"","name":"<p><span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span><span>[</span><span>]</span></p>\n"}],"module":"ConfigurationManager","name":"New-CMSoftwareUpdateAutoPhasedDeployment","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>此 Cmdlet 會自動為指定的兩個集合建立兩個階段。 您也可以使用此參數新增更多階段。 指定階段陣列。 使用 <a href=\"new-cmsoftwareupdatephase\">New-CMSoftwareUpdatePhase</a> 建立階段。</p>\n","name":"AddPhases","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">Phase</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定在第一個階段成功之後開始第二個部署階段的選項：</p>\n<ul>\n<li><p>\n              <code>AfterPeriod</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [設定<strong>] 頁面上的</strong>下列設定相同：在延遲<strong>期間之後自動開始此階段， (天) </strong>。 如果您指定此值，請使用 <strong>DaysAfterPreviousPhaseSuccess</strong> 來設定一段時間。</p>\n</li>\n<li><p>\n              <code>Manually</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>手動開始第二階段部署</strong>。</p>\n</li>\n</ul>\n","name":"BeginCondition","parameterValueGroup":"AfterPeriod, Manually","position":"Named","type":"<span class=\"no-loc xref\">BeginConditionType</span>\n"},{"aliases":"cf","defaultValue":"None","description":"<p>執行 Cmdlet 之前提示您確認。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定選項以選擇第一個階段的成功準則：</p>\n<ul>\n<li><p>\n              <code>Compliance</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>部署成功百分比</strong>。 使用 <strong>CriteriaValue</strong> 參數指定百分比值。</p>\n</li>\n<li><p>\n              <code>Number</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>成功部署的裝置數目</strong>。 使用 <strong>CriteriaValue</strong> 參數指定裝置數目。</p>\n</li>\n</ul>\n","name":"CriteriaOption","parameterValueGroup":"Compliance, Number","position":"Named","type":"<span class=\"no-loc xref\">CriteriaType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>這個整數值取決於您為 <strong>CriteriaOption 指定的</strong>值：</p>\n<ul>\n<li><p>\n              <code>Compliance</code>：指定百分比</p>\n</li>\n<li><p>\n              <code>Number</code>：指定裝置數目</p>\n</li>\n</ul>\n","name":"CriteriaValue","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>針對第一個階段成功后開始第二個階段的天數指定整數值。 此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [設定<strong>] 頁面上的</strong>下列設定相同：在延遲<strong>期間之後自動開始此階段， (天) </strong>。</p>\n","name":"DaysAfterPreviousPhaseSuccess","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定期限的類型。 搭配 <strong>DeadlineValue</strong> 使用此參數。</p>\n","name":"DeadlineUnit","parameterValueGroup":"Hours, Days, Weeks, Months","position":"Named","type":"<span class=\"no-loc xref\">TimeUnitType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>只有當您使用 <strong>InstallationChoice</strong> 參數指定 <code>AfterPeriod</code> 時，才會使用此參數。</p>\n<p>指定期限期間的整數值。 使用 <strong>DeadlineUnit</strong> 參數來指定期間的類型：<code>Hours</code>、、<code>Days</code>、<code>Weeks</code><code>Months</code>。 此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>需要在這段時間內安裝</strong>。</p>\n","name":"DeadlineValue","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定軟體更新階段式部署的描述。</p>\n","name":"Description","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會將通配符視為常值字元值。 您無法將其與 <strong>ForceWildcardHandling</strong> 結合。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第一個階段的集合物件。</p>\n","name":"FirstCollection","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第一個階段的集合標識碼。</p>\n","name":"FirstCollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第一個階段的集合名稱。</p>\n","name":"FirstCollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會處理通配符，並可能導致非預期的行為。 不建議這麼做。 您無法將其與 <strong>DisableWildcardHandling</strong> 結合。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果您使用 <strong>AddPhases</strong> 參數，請使用此參數來判斷階段順序中插入其他階段的位置。 指定具有訂單編號的整數。</p>\n","name":"InsertAtOrder","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>針對軟體可供使用時的相對行為指定選項：</p>\n<ul>\n<li><p>\n              <code>AsSoonAsPossible</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>需要儘快安裝</strong>。</p>\n</li>\n<li><p>\n              <code>AfterPeriod</code>：此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [<strong>設定</strong>] 頁面上的下列設定相同：<strong>需要在這段時間內安裝</strong>。 如果您指定此值，請使用 <strong>DeadlineUnit</strong> 和 <strong>DeadlineValue</strong> 來設定一段時間。</p>\n</li>\n</ul>\n","name":"InstallationChoice","parameterValueGroup":"AsSoonAsPossible, AfterPeriod","position":"Named","type":"<span class=\"no-loc xref\">InstallationChoiceType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定應用程式階段式部署的名稱。</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第二個階段的集合物件。</p>\n","name":"SecondCollection","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第二個階段的集合標識碼。</p>\n","name":"SecondCollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定第二個階段的集合名稱。</p>\n","name":"SecondCollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定軟體更新群組的物件。</p>\n","isRequired":true,"name":"SoftwareUpdateGroup","parameterValueGroup":"","pipelineInput":true,"position":"0","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>依標識子指定軟體更新群組。</p>\n","isRequired":true,"name":"SoftwareUpdateGroupId","parameterValueGroup":"","position":"0","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>依名稱指定軟體更新群組。</p>\n","isRequired":true,"name":"SoftwareUpdateGroupName","parameterValueGroup":"","position":"0","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定軟體更新識別碼的陣列。</p>\n","isRequired":true,"name":"SoftwareUpdateIds","parameterValueGroup":"","position":"0","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定軟體更新名稱的陣列。</p>\n","isRequired":true,"name":"SoftwareUpdateNames","parameterValueGroup":"","position":"0","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定軟體更新物件的陣列。</p>\n","isRequired":true,"name":"SoftwareUpdates","parameterValueGroup":"","pipelineInput":true,"position":"0","type":"<p><span class=\"no-loc xref\">IResultObject</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>針對逐漸提供此軟體的天數指定整數值。 此參數與控制台中 [<strong>建立階段式部署</strong>精靈] 之 [設定<strong>] 頁面上的</strong>下列設定相同：<strong>在) 天 (，逐漸讓此軟體在這段期間內可供使用</strong>。</p>\n","name":"ThrottlingDays","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"wi","defaultValue":"None","description":"<p>顯示執行 Cmdlet 時會發生什麼情況。 Cmdlet 不會執行。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。</p>\n","syntaxes":["New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroup] <IResultObject> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroupId] <String> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroupName] <String> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateIds] <String[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateNames] <String[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdates] <IResultObject[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-tw","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmsoftwareupdateautophaseddeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSoftwareUpdateAutoPhasedDeployment","schemaType":"PowershellCmdlet","summary":"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。</p>\n","uid":"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmsoftwareupdateautophaseddeployment?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmsoftwareupdateautophaseddeployment?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。 當您選取 [<strong>自動建立預設的兩階段部署</strong>] 選項時，此 Cmdlet 的行為與軟體更新上的 [<strong>建立階段式</strong>部署精靈] 相同。</p>\n<div class=&quot;NOTE&quot;>\n<p>注意事項</p>\n<p>建立階段式部署之前，請務必將軟體更新內容發佈至發佈點。</p>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMSoftwareUpdateAutoPhasedDeployment.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>使用此 Cmdlet 來建立軟體更新的階段式部署，方法是產生具有相同設定的兩個階段。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroup] <IResultObject> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroupId] <String> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateGroupName] <String> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateIds] <String[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdateNames] <String[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMSoftwareUpdateAutoPhasedDeployment [-SoftwareUpdates] <IResultObject[]> [-AddPhases <Phase[]>]\n [-BeginCondition <BeginConditionType>] [-CriteriaOption <CriteriaType>] [-CriteriaValue <Int32>]\n [-DaysAfterPreviousPhaseSuccess <Int32>] [-DeadlineUnit <TimeUnitType>] [-DeadlineValue <Int32>]\n [-FirstCollection <IResultObject>] [-FirstCollectionId <String>] [-FirstCollectionName <String>]\n [-InsertAtOrder <Int32>] [-InstallationChoice <InstallationChoiceType>] [-SecondCollection <IResultObject>]\n [-SecondCollectionId <String>] [-SecondCollectionName <String>] [-ThrottlingDays <Int32>]\n [-Description <String>] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMSoftwareUpdateAutoPhasedDeployment\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}