{"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/6/26","updated_at_date_time":"2026-06-26T00:08:10.9432618Z"},"_path":"module/configurationmanager/set-cmsettingdeployment.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-cmsettingdeployment?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Set-CMSettingDeployment.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"4dc47fac-492a-0b14-5c9c-ff3d1c15ddfc","document_version_independent_id":"a351d30c-4a1d-1794-035d-c17ec4f4981d","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":"c74b3f4574af7a8a480adb998b311f6eeeb3e856","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/c74b3f4574af7a8a480adb998b311f6eeeb3e856/sccm-ps/ConfigurationManager/Set-CMSettingDeployment.md","github_contributors":["aczechowski"],"locale":"zh-cn","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"08/20/2020","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-CMSettingDeployment.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Set-CMSettingDeployment.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-06-26 12:08 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置现有设置策略部署。</p>\n","uid":"ConfigurationManager.Set-CMSettingDeployment"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Set-CMSettingDeployment":{"href":"set-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置现有设置策略部署。</p>\n","uid":"ConfigurationManager.Set-CMSettingDeployment"}},"description":"<p>配置现有设置策略部署。 例如，配置 BitLocker 管理策略或 Microsoft Defender 应用程序控制策略的部署。</p>\n","examples":[{"code":"Get-CMBlmSetting -Name \"My BitLocker setting\" | Get-CMSettingDeployment | Set-CMSettingDeployment -Schedule (New-CMSchedule -Start ((Get-Date).AddDays(-30)).ToString() -RecurCount 7 -RecurInterval Minutes)","description":"","summary":"<p>此示例按名称获取 BitLocker 管理策略设置对象。 然后，它使用管道运算符获取该策略对象的部署。 它使用管道运算符修改部署计划。</p>\n","title":"示例 1：修改 BitLocker 管理策略的部署计划"},{"code":"Get-CMWdacSetting -Name \"My App Control setting\"  | Get-CMSettingDeployment | Set-CMSettingDeployment -OverrideServiceWindows","description":"","summary":"<p>此示例按名称获取应用程序控制策略对象。 然后，它使用管道运算符获取该策略对象的部署。 它使用管道运算符修改部署，以允许客户端在维护时段外修正策略。</p>\n","title":"示例 2：配置 Microsoft Defender 应用程序控制策略的部署"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Deployments.SettingsDeployment.SettingsDeployment</span>\n"}],"links":[{"href":"get-cmsettingdeployment","text":"Get-CMSettingDeployment"},{"href":"new-cmsettingdeployment","text":"New-CMSettingDeployment"},{"href":"remove-cmsettingdeployment","text":"Remove-CMSettingDeployment"}],"module":"ConfigurationManager","name":"Set-CMSettingDeployment","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Deployments.SettingsDeployment.SettingsDeployment</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定要配置的设置部署对象。 若要获取部署对象，请使用 <a href=\"get-cmsettingdeployment\">Get-CMSettingDeployment</a> cmdlet。</p>\n","isRequired":true,"name":"CMSettingsDeployment","parameterValueGroup":"","pipelineInput":true,"position":"1","type":"<span class=\"no-loc xref\">SettingsDeployment</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>此参数处理通配符，并可能导致意外行为， (不建议) 。 不能将其与 <strong>DisableWildcardHandling</strong> 组合使用。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>添加此参数时，客户端可以在维护时段外修正设置。</p>\n","name":"OverrideServiceWindows","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>指定要应用于部署的计划对象。 若要创建自定义计划，请使用 <a href=\"new-cmschedule\">New-CMSchedule</a> cmdlet。</p>\n","name":"Schedule","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>配置现有设置策略部署。</p>\n","syntaxes":["Set-CMSettingDeployment [-CMSettingsDeployment] <SettingsDeployment> [-Schedule <IResultObject>]\n [-OverrideServiceWindows <Boolean>] [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]"],"uid":"ConfigurationManager.Set-CMSettingDeployment","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-CMSettingDeployment.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>配置现有设置策略部署。</p>\n","uid":"ConfigurationManager.Set-CMSettingDeployment"}],"canonical_url":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmsettingdeployment?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmsettingdeployment?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>配置现有设置策略部署。 例如，配置 BitLocker 管理策略或 Microsoft Defender 应用程序控制策略的部署。</p>\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-CMSettingDeployment.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-CMSettingDeployment\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>配置现有设置策略部署。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMSettingDeployment [-CMSettingsDeployment] <SettingsDeployment> [-Schedule <IResultObject>]\n [-OverrideServiceWindows <Boolean>] [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Set-CMSettingDeployment\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}