{"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/10/7","updated_at_date_time":"2026-10-07T23:28:06.384855Z"},"_path":"module/configurationmanager/new-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-tw/powershell/module/configurationmanager/new-cmsettingdeployment?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMSettingDeployment.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"bf6521ad-5c7d-ad42-07d2-3b7d79525b5d","document_version_independent_id":"3807284d-ad0f-bb1a-1614-af4147539130","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/New-CMSettingDeployment.md","github_contributors":["aczechowski"],"locale":"zh-tw","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/New-CMSettingDeployment.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-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-10-07 11:28 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>將設定原則物件部署至集合。</p>\n","uid":"ConfigurationManager.New-CMSettingDeployment"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMSettingDeployment":{"href":"new-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>將設定原則物件部署至集合。</p>\n","uid":"ConfigurationManager.New-CMSettingDeployment"}},"description":"<p>將設定原則物件部署至集合。 例如，部署 BitLocker 管理原則或Microsoft Defender 應用程控原則。 若要建立自定義排程，請使用 <a href=\"new-cmschedule\">New-CMSchedule</a> Cmdlet。 若要取得集合，請使用 <a href=\"get-cmcollection\">Get-CMCollection</a> Cmdlet。</p>\n","examples":[{"code":"$setting = Get-CMBlmSetting -Name \"My BitLocker settings\"\n\n$collection = Get-CMCollection -Name \"All Desktop and Server Clients\"\n\nNew-CMSettingDeployment -CMSetting $setting -CollectionName $collection.Name","description":"","summary":"<p>這個範例會依名稱取得 BitLocker 管理設定物件，並將該物件儲存在 <strong>$setting</strong> 變數中。 然後，它會依名稱取得集合，並將該物件儲存在 <strong>$collection</strong> 變數中。 它會使用 <strong>New-CMSettingDeployment</strong> Cmdlet 將 BitLocker 管理設定物件部署到該集合。</p>\n","title":"範例 1：將 BitLocker 管理物件部署到所有桌面和伺服器用戶端"},{"code":"$setting = Get-CMWdacSetting -Name \"My App Control settings\"\n\n$collection = Get-CMCollection -Name \"All Desktop and Server Clients\"\n\n$sched = New-CMSchedule -Start ((Get-Date).AddDays(-30)).ToString() -RecurCount 7 -RecurInterval Minutes\n\n$dep = New-CMSettingDeployment -CMSetting $setting -Collection $collection -Schedule $sched","description":"","summary":"<p>此範例也會使用 <strong>New-CMSchedule</strong> Cmdlet 建立自定義排程。</p>\n","title":"範例 2：使用自定義排程部署 Windows Defender 應用程"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.PowerShell.Cmdlets.EP.SimplifiedSettings.CMSettings</span>\n"}],"links":[{"href":"get-cmblmsetting","text":"Get-CMBlmSetting"},{"href":"new-cmblmsetting","text":"New-CMBlmSetting"},{"href":"get-cmwdacsetting","text":"Get-CMWdacSetting"},{"href":"new-cmwdacsetting","text":"New-CMWdacSetting"},{"href":"get-cmcollection","text":"Get-CMCollection"},{"href":"new-cmschedule","text":"New-CMSchedule"},{"href":"get-cmsettingdeployment","text":"Get-CMSettingDeployment"},{"href":"remove-cmsettingdeployment","text":"Remove-CMSettingDeployment"},{"href":"set-cmsettingdeployment","text":"Set-CMSettingDeployment"}],"module":"ConfigurationManager","name":"New-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>指定要部署的設定物件。</p>\n<ul>\n<li>針對 BitLocker 管理，請使用 <a href=\"get-cmblmsetting\">Get-CMBlmSetting</a> 或 <a href=\"new-cmblmsetting\">New-CMBlmSetting</a> Cmdlet。</li>\n<li>針對 Microsoft Defender 應用程控，請使用 <a href=\"get-cmwdacsetting\">Get-CMWdacSetting</a> 或 <a href=\"new-cmwdacsetting\">New-CMWdacSetting</a> Cmdlet。</li>\n</ul>\n","isRequired":true,"name":"CMSetting","parameterValueGroup":"","pipelineInput":true,"position":"1","type":"<span class=\"no-loc xref\">CMSettings</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>指定集合的識別碼做為部署的目標。</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>此參數會將通配符視為常值字元值。 您無法將其與 <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\">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":["New-CMSettingDeployment [-CMSetting] <CMSettings> [-Schedule <IResultObject>] [-OverrideServiceWindows]\n [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMSettingDeployment","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-CMSettingDeployment.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmsettingdeployment","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMSettingDeployment","schemaType":"PowershellCmdlet","summary":"<p>將設定原則物件部署至集合。</p>\n","uid":"ConfigurationManager.New-CMSettingDeployment"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmsettingdeployment?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmsettingdeployment?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>將設定原則物件部署至集合。 例如，部署 BitLocker 管理原則或Microsoft Defender 應用程控原則。 若要建立自定義排程，請使用 <a href=&quot;new-cmschedule&quot;>New-CMSchedule</a> Cmdlet。 若要取得集合，請使用 <a href=&quot;get-cmcollection&quot;>Get-CMCollection</a> Cmdlet。</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/New-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-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-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=\"New-CMSettingDeployment [-CMSetting] <CMSettings> [-Schedule <IResultObject>] [-OverrideServiceWindows]\n [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMSettingDeployment\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}