{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/ko-kr/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"},{"display_name":"Dan Mabee","id":"40476441","name":"damabe","profile_url":"https://github.com/damabe"},{"display_name":"sankethka","id":"16908144","name":"sankethka","profile_url":"https://github.com/sankethka"}],"update_at":"2026. 9. 1.","updated_at_date_time":"2026-09-01T11:26:07.3921349Z"},"_path":"module/configurationmanager/add-cmdevicecollectiondirectmembershiprule.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/add-cmdevicecollectiondirectmembershiprule?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Add-CMDeviceCollectionDirectMembershipRule.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":"cb64faff743ef3d001f913983a4e1164c7cd5047","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/cb64faff743ef3d001f913983a4e1164c7cd5047/sccm-ps/ConfigurationManager/Add-CMDeviceCollectionDirectMembershipRule.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"ko-kr","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/28/2021","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/Add-CMDeviceCollectionDirectMembershipRule.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Add-CMDeviceCollectionDirectMembershipRule.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"Add-CMDeviceCollectionDirectMembershipRule","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 11:26 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/add-cmdevicecollectiondirectmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMDeviceCollectionDirectMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다.</p>\n","uid":"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule":{"href":"add-cmdevicecollectiondirectmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMDeviceCollectionDirectMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다.</p>\n","uid":"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule"}},"description":"<p>이 cmdlet을 사용하여 디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다.\n\n              <em>직접</em> 멤버 자격 규칙을 사용하면 디바이스 컬렉션의 멤버를 명시적으로 선택할 수 있습니다.\n기본 컬렉션에는 멤버 자격 규칙을 추가할 수 없습니다. 대상으로 하는 모든 컬렉션에는 가 아닌 <code>SMS</code>사이트 코드로 시작하는 ID가 있어야 합니다.\n자세한 내용은 <a href=\"/mem/configmgr/core/clients/manage/collections/create-collections\">Configuration Manager에서 컬렉션을 만드는 방법을 참조하세요</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":"Add-CMDeviceCollectionDirectMembershipRule -CollectionId \"XYZ00056\" -ResourceId 16777219","description":"","summary":"<p>이 명령은 ID <strong>XYZ00056</strong> 사용하여 디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다. ID <strong>16777219</strong> 있는 리소스를 컬렉션에 추가합니다.</p>\n","title":"예제 1: 직접 멤버 자격 규칙 추가"},{"code":"Get-CMCollection -Name \"testCollection\" | Add-CMDeviceCollectionDirectMembershipRule -ResourceId 16777219","description":"","summary":"<p>이 명령은 먼저 <strong>Get-CMCollection</strong> cmdlet을 사용하여 <strong>testCollection</strong>이라는 컬렉션 개체를 가져옵니다. 그런 다음 파이프라인 연산자를 사용하여 개체를 <strong>Add-CMDeviceCollectionDirectMembershipRule</strong> cmdlet에 전달하여 디바이스 컬렉션 개체에 직접 멤버 자격 규칙을 추가합니다. ID <strong>16777219</strong> 있는 디바이스를 컬렉션에 추가합니다.</p>\n","title":"예제 2: 파이프라인을 사용하여 직접 멤버 자격 규칙 추가"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"get-cmdevicecollectiondirectmembershiprule","text":"Get-CMDeviceCollectionDirectMembershipRule"},{"href":"remove-cmdevicecollectiondirectmembershiprule","text":"Remove-CMDeviceCollectionDirectMembershipRule"},{"href":"get-cmcollection","text":"Get-CMCollection"},{"href":"get-cmdevicecollection","text":"Get-CMDeviceCollection"},{"href":"get-cmresource","text":"Get-CMResource"},{"href":"get-cmdevice","text":"Get-CMDevice"},{"href":"add-cmusercollectiondirectmembershiprule","text":"Add-CMUserCollectionDirectMembershipRule"},{"href":"/mem/configmgr/core/clients/manage/collections/create-collections","text":"Configuration Manager에서 컬렉션을 만드는 방법"}],"module":"ConfigurationManager","name":"Add-CMDeviceCollectionDirectMembershipRule","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>규칙을 추가할 디바이스 컬렉션의 ID를 지정합니다. 이 값은 <strong>CollectionID</strong> 속성(예: <code>XYZ00012</code>)입니다. 기본 컬렉션에 멤버 자격 규칙을 추가할 수 없으므로 이 ID는 가 아닌 <code>SMS</code>사이트 코드로 시작합니다.</p>\n","isRequired":true,"name":"CollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>규칙을 추가할 디바이스 컬렉션의 이름을 지정합니다.</p>\n","isRequired":true,"name":"CollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"cf","defaultValue":"False","description":"<p>cmdlet을 실행하기 전에 확인 메시지를 표시합니다.</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>이 매개 변수는 와일드카드 문자를 리터럴 문자 값으로 처리합니다. \n              <strong>ForceWildcardHandling</strong>과 결합할 수 없습니다.</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>이 매개 변수는 와일드카드 문자를 처리하고 예기치 않은 동작(권장되지 않음)으로 이어질 수 있습니다. \n              <strong>DisableWildcardHandling</strong>과 결합할 수 없습니다.</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"Collection","defaultValue":"None","description":"<p>규칙을 추가할 디바이스 컬렉션에 대한 개체를 지정합니다. 이 개체를 얻으려면 <a href=\"get-cmcollection\">Get-CMCollection</a> 또는 <a href=\"get-cmdevicecollection\">Get-CMDeviceCollection</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>작업 중인 항목을 나타내는 개체를 반환하려면 이 매개 변수를 추가합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않을 수 있습니다.</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"Resources","defaultValue":"None","description":"<p>이 직접 멤버 자격 규칙을 사용하여 디바이스 컬렉션에 추가할 리소스 개체의 배열을 지정합니다. 이 개체를 얻으려면 <a href=\"get-cmresource\">Get-CMResource</a> cmdlet 또는 매개 변수와 함께 <a href=\"get-cmdevice\">Get-CMDevice</a> cmdlet을 <code>-Resource</code> 사용합니다.</p>\n","isRequired":true,"name":"Resource","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">IResultObject</span><span>[</span><span>]</span></p>\n"},{"aliases":"ResourceIds","defaultValue":"None","description":"<p>이 직접 멤버 자격 규칙을 사용하여 디바이스 컬렉션에 추가할 리소스의 ID 배열을 지정합니다. 이 값은 <strong>ResourceID</strong> 속성(예 <code>16777219</code>: )입니다.</p>\n","isRequired":true,"name":"ResourceId","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">Int32</span><span>[</span><span>]</span></p>\n"},{"aliases":"wi","defaultValue":"False","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":["Add-CMDeviceCollectionDirectMembershipRule -CollectionId <String> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Add-CMDeviceCollectionDirectMembershipRule -CollectionId <String> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Add-CMDeviceCollectionDirectMembershipRule -CollectionName <String> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Add-CMDeviceCollectionDirectMembershipRule -CollectionName <String> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Add-CMDeviceCollectionDirectMembershipRule -InputObject <IResultObject> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Add-CMDeviceCollectionDirectMembershipRule -InputObject <IResultObject> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"ko-kr","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/Add-CMDeviceCollectionDirectMembershipRule.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/add-cmdevicecollectiondirectmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMDeviceCollectionDirectMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다.</p>\n","uid":"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule"}],"canonical_url":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/add-cmdevicecollectiondirectmembershiprule?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/add-cmdevicecollectiondirectmembershiprule?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>이 cmdlet을 사용하여 디바이스 컬렉션에 직접 멤버 자격 규칙을 추가합니다.\n\n              <em>직접</em> 멤버 자격 규칙을 사용하면 디바이스 컬렉션의 멤버를 명시적으로 선택할 수 있습니다.\n기본 컬렉션에는 멤버 자격 규칙을 추가할 수 없습니다. 대상으로 하는 모든 컬렉션에는 가 아닌 <code>SMS</code>사이트 코드로 시작하는 ID가 있어야 합니다.\n자세한 내용은 <a href=&quot;/mem/configmgr/core/clients/manage/collections/create-collections&quot;>Configuration Manager에서 컬렉션을 만드는 방법을 참조하세요</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/Add-CMDeviceCollectionDirectMembershipRule.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=\"ko-kr\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Add-CMDeviceCollectionDirectMembershipRule\" />\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=\"Add-CMDeviceCollectionDirectMembershipRule -CollectionId <String> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMDeviceCollectionDirectMembershipRule -CollectionId <String> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMDeviceCollectionDirectMembershipRule -CollectionName <String> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMDeviceCollectionDirectMembershipRule -CollectionName <String> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMDeviceCollectionDirectMembershipRule -InputObject <IResultObject> [-PassThru] -ResourceId <Int32[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMDeviceCollectionDirectMembershipRule -InputObject <IResultObject> [-PassThru] -Resource <IResultObject[]>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Add-CMDeviceCollectionDirectMembershipRule\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}