{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-cn/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/9/1","updated_at_date_time":"2026-09-01T12:39:22.2315858Z"},"_path":"module/configurationmanager/set-cmapplicationgroupdeployment.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-cn/powershell/module/configurationmanager/set-cmapplicationgroupdeployment?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Set-CMApplicationGroupDeployment.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","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":"48cf632fb4b9ad92060012681a500478254de750","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/48cf632fb4b9ad92060012681a500478254de750/sccm-ps/ConfigurationManager/Set-CMApplicationGroupDeployment.md","github_contributors":["aczechowski"],"locale":"zh-cn","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"03/25/2021","ms.service":"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/Set-CMApplicationGroupDeployment.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Set-CMApplicationGroupDeployment.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-09-01 12:39 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmapplicationgroupdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMApplicationGroupDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置应用程序组的部署。</p>\n","uid":"ConfigurationManager.Set-CMApplicationGroupDeployment"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Set-CMApplicationGroupDeployment":{"href":"set-cmapplicationgroupdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMApplicationGroupDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置应用程序组的部署。</p>\n","uid":"ConfigurationManager.Set-CMApplicationGroupDeployment"}},"description":"<p>配置应用程序组的部署。 一个应用组包含多个应用程序，用户可将软件中心中的组视为单个实体。 有关详细信息，请参阅 <a href=\"/mem/configmgr/apps/deploy-use/create-app-groups\">创建应用程序组</a>。</p>\n<div class=\"NOTE\">\n<p>注意</p>\n<p>从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet，例如 <code>PS XYZ:\\&gt;</code>。 有关详细信息，请参阅 <a href=\"/powershell/sccm/overview\">入门</a>。</p>\n</div>\n","examples":[{"code":"$collection = Get-CMCollection -Name \"co1\"\n\nSet-CMApplicationGroupDeployment -ApplicationGroupName \"appGroupTest\" -Collection $collection -Comment \"modify comment\"","description":"","summary":"","title":"示例 1"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"get-cmapplicationgroupdeployment","text":"Get-CMApplicationGroupDeployment"},{"href":"new-cmapplicationgroupdeployment","text":"New-CMApplicationGroupDeployment"},{"href":"remove-cmapplicationgroupdeployment","text":"Remove-CMApplicationGroupDeployment"},{"href":"get-cmapplicationgroup","text":"Get-CMApplicationGroup"},{"href":"/mem/configmgr/apps/deploy-use/create-app-groups","text":"创建应用程序组"}],"module":"ConfigurationManager","name":"Set-CMApplicationGroupDeployment","notes":"<p>此 cmdlet 返回SMS_ApplicationGroupAssignment WMI 类对象。</p>\n","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定要配置的应用组的 ID。</p>\n","isRequired":true,"name":"ApplicationGroudId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定要配置的应用组的名称。</p>\n","isRequired":true,"name":"ApplicationGroupName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定此部署<em>可用的</em><strong>DateTime</strong> 对象。 若要获取此对象，请使用 <a href=\"/powershell/module/microsoft.powershell.utility/get-date\">Get-Date</a> 内置 cmdlet。</p>\n<p>使用 <strong>DeadlineDateTime</strong> 指定部署分配或 <em>截止时间</em>。</p>\n","name":"AvailableDateTime","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">DateTime</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定集合对象作为此应用组部署的目标。 若要获取此对象，请使用 <a href=\"get-cmcollection\">Get-CMCollection</a> cmdlet。</p>\n","name":"Collection","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定集合 ID 作为此应用组部署的目标。</p>\n","name":"CollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"acceptWildcardCharacters":true,"aliases":"","defaultValue":"None","description":"<p>指定集合名称作为此应用组部署的目标。</p>\n","name":"CollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>为应用组部署指定可选注释。</p>\n","name":"Comment","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</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>指定分配此部署的时间的 <strong>DateTime</strong> 对象，也称为 <em>截止时间</em>。 若要获取此对象，请使用 <a href=\"/powershell/module/microsoft.powershell.utility/get-date\">Get-Date</a> 内置 cmdlet。</p>\n<p>使用 <strong>-AvailableDateTime</strong> 指定部署 <em>何时可用</em>。</p>\n","name":"DeadlineDateTime","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">DateTime</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>将此参数设置为 可 <code>$true</code> 为此部署启用 System Center Operations Manager 维护模式。</p>\n","name":"EnableMomAlert","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</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":"ApplicationGroup, DeploymentSummary, ApplicationGroupAssignment","defaultValue":"None","description":"<p>为应用组指定对象。 若要获取此对象，请使用 <a href=\"get-cmapplicationgroup\">Get-CMApplicationGroup</a> cmdlet。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>将此参数设置为 以 <code>$true</code> 在维护时段外安装应用组。</p>\n","name":"OverrideServiceWindow","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>添加此参数可返回一个对象，该对象表示正在使用的项。 默认情况下，此 cmdlet 可能不会生成任何输出。</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此参数处理 Windows Embedded 设备的写入筛选器。 如果将其设置为 <code>$true</code>，设备会在截止时间或维护时段内提交更改。 此操作需要重启。 如果将其设置为 <code>$false</code>，设备会将更改保存到临时覆盖层，并在以后提交更改。</p>\n","name":"PersistOnWriteFilterDevice","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>将此参数设置为 以 <code>$true</code> 在部署失败时生成 System Center Operations Manager 警报。</p>\n","name":"RaiseMomAlertsOnFailure","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>将此参数设置为 以 <code>$true</code> 允许设备在维护时段外重新启动。</p>\n","name":"RebootOutsideServiceWindow","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定要使用的时区：</p>\n<ul>\n<li>\n              <code>LocalTime</code>：使用设备的本地时间。</li>\n<li>\n              <code>UTC</code>：使用协调世界时 (UTC) 。</li>\n</ul>\n","name":"TimeBaseOn","parameterValueGroup":"LocalTime, Utc","position":"Named","type":"<span class=\"no-loc xref\">TimeType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此参数指定此部署的用户体验：</p>\n<ul>\n<li>\n              <code>DisplayAll</code>：在软件中心显示并显示所有通知</li>\n<li>\n              <code>DisplaySoftwareCenterOnly</code>：在软件中心显示，仅显示计算机重启通知。</li>\n<li>\n              <code>HideAll</code>：在软件中心和所有通知中隐藏</li>\n</ul>\n","name":"UserNotification","parameterValueGroup":"DisplayAll, DisplaySoftwareCenterOnly, HideAll","position":"Named","type":"<span class=\"no-loc xref\">UserNotificationType</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>配置应用程序组的部署。</p>\n","syntaxes":["Set-CMApplicationGroupDeployment [-Comment <String>] [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>]\n -InputObject <IResultObject> [-AvailableDateTime <DateTime>] [-UserNotification <UserNotificationType>]\n [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>] [-OverrideServiceWindow <Boolean>]\n [-PersistOnWriteFilterDevice <Boolean>] [-RebootOutsideServiceWindow <Boolean>] [-PassThru]\n [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMApplicationGroupDeployment -ApplicationGroudId <String> [-Comment <String>]\n [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>] [-AvailableDateTime <DateTime>]\n [-UserNotification <UserNotificationType>] [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>]\n [-OverrideServiceWindow <Boolean>] [-PersistOnWriteFilterDevice <Boolean>]\n [-RebootOutsideServiceWindow <Boolean>] [-PassThru] [-Collection <IResultObject>] [-CollectionId <String>]\n [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","Set-CMApplicationGroupDeployment -ApplicationGroupName <String> [-Comment <String>]\n [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>] [-AvailableDateTime <DateTime>]\n [-UserNotification <UserNotificationType>] [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>]\n [-OverrideServiceWindow <Boolean>] [-PersistOnWriteFilterDevice <Boolean>]\n [-RebootOutsideServiceWindow <Boolean>] [-PassThru] [-Collection <IResultObject>] [-CollectionId <String>]\n [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]"],"uid":"ConfigurationManager.Set-CMApplicationGroupDeployment","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-cn","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/Set-CMApplicationGroupDeployment.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmapplicationgroupdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMApplicationGroupDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置应用程序组的部署。</p>\n","uid":"ConfigurationManager.Set-CMApplicationGroupDeployment"}],"canonical_url":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmapplicationgroupdeployment?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmapplicationgroupdeployment?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>配置应用程序组的部署。 一个应用组包含多个应用程序，用户可将软件中心中的组视为单个实体。 有关详细信息，请参阅 <a href=&quot;/mem/configmgr/apps/deploy-use/create-app-groups&quot;>创建应用程序组</a>。</p>\n<div class=&quot;NOTE&quot;>\n<p>注意</p>\n<p>从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet，例如 <code>PS XYZ:\\&amp;gt;</code>。 有关详细信息，请参阅 <a href=&quot;/powershell/sccm/overview&quot;>入门</a>。</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/Set-CMApplicationGroupDeployment.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-cn\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Set-CMApplicationGroupDeployment\" />\r\n<meta name=\"notes\" content=\"<p>此 cmdlet 返回SMS_ApplicationGroupAssignment WMI 类对象。</p>\n\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>配置应用程序组的部署。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMApplicationGroupDeployment [-Comment <String>] [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>]\n -InputObject <IResultObject> [-AvailableDateTime <DateTime>] [-UserNotification <UserNotificationType>]\n [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>] [-OverrideServiceWindow <Boolean>]\n [-PersistOnWriteFilterDevice <Boolean>] [-RebootOutsideServiceWindow <Boolean>] [-PassThru]\n [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMApplicationGroupDeployment -ApplicationGroudId <String> [-Comment <String>]\n [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>] [-AvailableDateTime <DateTime>]\n [-UserNotification <UserNotificationType>] [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>]\n [-OverrideServiceWindow <Boolean>] [-PersistOnWriteFilterDevice <Boolean>]\n [-RebootOutsideServiceWindow <Boolean>] [-PassThru] [-Collection <IResultObject>] [-CollectionId <String>]\n [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMApplicationGroupDeployment -ApplicationGroupName <String> [-Comment <String>]\n [-DeadlineDateTime <DateTime>] [-TimeBaseOn <TimeType>] [-AvailableDateTime <DateTime>]\n [-UserNotification <UserNotificationType>] [-EnableMomAlert <Boolean>] [-RaiseMomAlertsOnFailure <Boolean>]\n [-OverrideServiceWindow <Boolean>] [-PersistOnWriteFilterDevice <Boolean>]\n [-RebootOutsideServiceWindow <Boolean>] [-PassThru] [-Collection <IResultObject>] [-CollectionId <String>]\n [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Set-CMApplicationGroupDeployment\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}